tree: 82d1236b677488b1c35880934d9483f6daee30e6 [path history] [tgz]
  1. index.js
  2. license
  3. package.json
  4. readme.md
third_party/devtools/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