1
0
Fork 0
arangodb/js/node/node_modules/code-point-at
Andreas Streichardt 8a286a30d9 We are now using semistandard and eslint 2016-06-29 18:27:02 +02:00
..
index.js
license
package.json
readme.md

readme.md

code-point-at Build Status

ES2015 String#codePointAt() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

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