Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/toptal/keycodes
Easy visualizer for JavaScript KeyCodes
https://github.com/toptal/keycodes
Last synced: 1 day ago
JSON representation
Easy visualizer for JavaScript KeyCodes
- Host: GitHub
- URL: https://github.com/toptal/keycodes
- Owner: toptal
- License: mit
- Created: 2014-04-25T21:03:15.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-12-23T15:13:41.000Z (27 days ago)
- Last Synced: 2025-01-11T08:00:30.948Z (8 days ago)
- Language: TypeScript
- Homepage: https://keycode.info
- Size: 1.52 MB
- Stars: 2,167
- Watchers: 122
- Forks: 367
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome - toptal/keycodes - Easy visualizer for JavaScript KeyCodes (TypeScript)
- awesome-starred - toptal/keycodes - Easy visualizer for JavaScript KeyCodes (others)
README
# JavaScript Keycodes → [KeyCode.info](https://keycode.info)
Keycodes is a simple website which allows users to press any key and instantly get the JavaScript Key or Key Code KeyboardEvent. Check out the Tool and Event List. It is build with Next.js and Typescript.
## Development
You'll need [node](https://nodejs.org/en/) and [yarn](https://yarnpkg.com/) installed on your machine.
- Install dependencies `yarn`
- Run the development server: `yarn dev`
- Open [http://localhost:3000](http://localhost:3000) in your browserYou can also start project with docker - `docker-compose up`
### Development mode
There is a `docker-compose.yml` which runs the app
```bash
docker-compose up
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
### See also
- [Testing](/docs/01-testing.md)
- [Linting](/docs/02-linting.md)
- [Logging](/docs/03-logging.md)## Contributing
First off, thanks for taking the time to contribute! We welcome feedback in all forms, issues, comments, PRs, etc. and we always want to hear what the keycodes community thinks!
### Contributing Guide
There are many ways in which you can participate in this project, for example:
- Submit bugs, feature requests, and ideas, and help us verify as they are checked in
- Review source code changes
- Review the documentation for any typos and improvementsIf you are interested in fixing issues and contributing directly to the code base, please see the [How to Contribute](/CONTRIBUTING.md) document which covers the following:
- Submitting pull requests
- Coding guidelines
- How to find issues to work on
- How to use the labels### Providing Feedback
- Request a new feature
- Upvote popular features requests
- Create an issue### Code of Conduct
This project has adopted the [Contributor Covenant](https://www.contributor-covenant.org/) [Code of Conduct](https://www.contributor-covenant.org/version/2/1/code_of_conduct/code_of_conduct.md)
### Contributor License Agreement
Licensed under the [MIT](https://github.com/toptal/keycodes/blob/main/LICENSE 'https://github.com/toptal/keycodes/blob/main/LICENSE') license.