A simple node library for getting caller ID name information.
This library uses opencnam as a backend.
Install from npm, the node package manager:
$ npm install opencnam
If you'd like to install node-opencnam globally, you can run:
$ npm install -g opencnam
NOTE: If you install node-opencnam globally, you may need to run the
node-opencnam is easy. Below is a sample node program written using
node-opencnam. All it does is lookup a phone number and then output the
caller ID name for the specified phone number and print it out.
node-opencnam, note that you can pass it any US phone number, in
any format. This means that if you enter
node-opencnam will still resolve it to
If you enter a number less than 10-digits in length, you'll get an error. If
you enter a number longer than 10-digits in length,
node-opencnam will only
use the last 10-digits of the number.
So, here it is:
var opencnam = ;opencnam;
If you're using the Professional Tier, you can pass in the account credentials via the
var opencnam = ;var options =account_sid: '<Account SID>'auth_token: '<Auth Token>';opencnam;
The opencnam API we use as a backend limits you to no more than 10 requests per hour (using the Free Tier).
- Initial release!
- Using v2 of the API
- option to use the professional tier