Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timgabets/atm-state-levels
A helper service to work with ATM state logical levels
https://github.com/timgabets/atm-state-levels
Last synced: about 2 months ago
JSON representation
A helper service to work with ATM state logical levels
- Host: GitHub
- URL: https://github.com/timgabets/atm-state-levels
- Owner: timgabets
- Created: 2017-10-10T12:21:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T12:29:12.000Z (over 7 years ago)
- Last Synced: 2024-10-12T00:55:06.104Z (3 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
Awesome Lists containing this project
README
# [atm-state-levels](https://www.npmjs.com/package/atm-state-levels)
A helper service to work with ATM state logical levels, used by [Electron ATM](https://github.com/timgabets/electron-atm) and [ATM State Navigator](https://github.com/timgabets/states-navigator) applications.
## To Use:
```javascript
>var LevelsService = require('atm-state-levels');
>var l = new LevelsService();
>l.getLevelSize(17)
0
> l.addState('903', 17)
true
> l.getLevelSize(17)
1
```