tree: 8e261a9ebb8ec55014c47bd41f623fc3329ca09d [path history] [tgz]
  1. index.js
  2. license
  3. package.json
  4. readme.md
node_modules/code-point-at/readme.md

code-point-at Build Status

ES2015 String#codePointAt() ponyfill

Install

$ npm install --save code-point-at

Usage

var codePointAt = require('code-point-at');

codePointAt('🐴');
//=> 128052

codePointAt('abc', 2);
//=> 99

API

codePointAt(input, [position])

License

MIT © Sindre Sorhus