https://github.com/koding/keycode-checksum
calculate checksums using fletcher's algorithm for given keycode sequences/shortcut definitions
https://github.com/koding/keycode-checksum
Last synced: about 1 month ago
JSON representation
calculate checksums using fletcher's algorithm for given keycode sequences/shortcut definitions
- Host: GitHub
- URL: https://github.com/koding/keycode-checksum
- Owner: koding
- Created: 2015-05-06T03:36:31.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-07-21T22:45:13.000Z (over 9 years ago)
- Last Synced: 2025-10-23T09:35:19.079Z (5 months ago)
- Language: JavaScript
- Size: 84 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# keycode-checksum
calculate checksums using [fletcher's algorithm](http://en.wikipedia.org/wiki/Fletcher%27s_checksum) for given [keycode](https://github.com/timoxley/keycode) sequences.
# usage
```js
var checksum = require('keycode-checksum');
var sequences = ['ctrl+1', 'ctrl+2'];
var sums = checksum(sequences);
```
# api
# checksum(array|string)
# license
mit