Skip to content

azu/top-ceo-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

�?

History

2 Commits
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?
�?

Repository files navigation

top-ceo-chart

Glassdoor's Top CEO charts. Annual transition

Source

Code

copy(Array.from(document.querySelectorAll(".ceoSingle"), (el, index) => {
  return {
    rank: Number(el.querySelector(".listRank").textContent.replace(/[^\d]+/g, "").trim()),
    ceo: el.querySelector("strong").textContent.trim(),
    ceoImg:  el.querySelector(".ceo").dataset.original,
    company: el.querySelector("div:nth-child(2) > div:nth-child(2) > p:nth-child(2)").textContent.trim(),
    approval:  el.querySelector(".minor").textContent.trim(),
  }
}))

Data

data/us

Usage

  • Write usage instructions

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu

About

Glassdoor's Top CEO charts. Annual transition

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages