Nobody Pays (for) Magazines
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

simutils

0.1.1 • Public • Published

SIMUtils-js

SIM card checksum and encoding utils for nibbling, mcc, mnc, etc.

Table of Contents

Usage

> 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 for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Install

npm i simutils

DownloadsWeekly Downloads

11

Version

0.1.1

License

GPL-3.0+

Unpacked Size

13.7 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar