mirror of
https://github.com/thangisme/notes.git
synced 2024-09-07 05:54:16 -04:00
.. | ||
index.js | ||
license | ||
package.json | ||
readme.md |
code-point-at ![Build Status](https://travis-ci.org/sindresorhus/code-point-at.svg?branch=master)
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