Emmanuil 67a2fbe5b9 done %!s(int64=4) %!d(string=hai) anos
..
index.js 67a2fbe5b9 done %!s(int64=4) %!d(string=hai) anos
license 67a2fbe5b9 done %!s(int64=4) %!d(string=hai) anos
package.json 67a2fbe5b9 done %!s(int64=4) %!d(string=hai) anos
readme.md 67a2fbe5b9 done %!s(int64=4) %!d(string=hai) anos

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