Eric Foster 35b96bc934 initial commit 6 år sedan
..
index.js initial commit 6 år sedan
license initial commit 6 år sedan
package.json initial commit 6 år sedan
readme.md initial commit 6 år sedan

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