ot-domains-helper
1.1.0 • Public • Published ot-domains-helper
Helper methods for dealing with domainIds
installation:
npm install ot-domains-helper
usage:
var domains = require('ot-domains-helper');
console.log(domains.mapToId('couk'));
// 70
console.log(domains.mapToCode(70));
// couk
Running tests
npm install
npm test
Package Sidebar
Install
Weekly Downloads