$ cnpm install code-point-at
ES2015
String#codePointAt()
ponyfill
$ npm install --save code-point-at
var codePointAt = require('code-point-at');
codePointAt('????');
//=> 128052
codePointAt('abc', 2);
//=> 99
MIT © Sindre Sorhus
Copyright 2013 - present © cnpmjs.org