Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iotconnectivity/simutils-js
SIM card checksum and encoding utils for nibbling, mcc, mnc, etc.
https://github.com/iotconnectivity/simutils-js
gsm iccid imsi luhn mcc mccmnc mnc nibbles simcard smartcard utils
Last synced: 4 months ago
JSON representation
SIM card checksum and encoding utils for nibbling, mcc, mnc, etc.
- Host: GitHub
- URL: https://github.com/iotconnectivity/simutils-js
- Owner: iotconnectivity
- License: lgpl-3.0
- Created: 2019-04-23T10:19:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T10:26:41.000Z (almost 6 years ago)
- Last Synced: 2024-10-14T20:02:55.205Z (4 months ago)
- Topics: gsm, iccid, imsi, luhn, mcc, mccmnc, mnc, nibbles, simcard, smartcard, utils
- Language: JavaScript
- Size: 5.86 KB
- Stars: 5
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SIMUtils-js
SIM card checksum and encoding utils for nibbling, mcc, mnc, etc.
## Table of Contents
- [Usage](#usage)
- [Installation](#installation)
- [Support](#support)
- [Contributing](#contributing)## Usage
```javascript
> var sim = require('../src');
undefined
> sim
{ luhn_calculate: [Function: luhn_calculate],
enc_mcc: [Function: enc_mcc],
enc_plmn: [Function: enc_plmn],
dec_plmn: [Function: dec_plmn],
nibble_iccid: [Function: nibble_iccid],
nibble_imsi: [Function: nibble_imsi] }
> sim.enc_mcc('214')
'12F4'
> sim.dec_plmn('12F410')
[ '214', '01' ]
> sim.nibble_iccid('8901260881205897720')
'981062801802857927F0'
> sim.nibble_imsi('425019600457406')
'084952106900544760'
```## Installation
From npmjs repository
```
$ npm install
```From source code
```
$ npm install ./simutils-js
```## Support
Please [open an issue](https://github.com/PodgroupConnectivity/simutils-js/issues/new) for support.
## Contributing
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and open a pull request.