0649bd8119
* Bumping actions/github to 2.2.0 for GHES * Husky commit correct node modules |
||
---|---|---|
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
readme.md
code-point-at
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