Package Exports
- code-point-at
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (code-point-at) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Deprecated. Just use String#codePointAt()
.
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