code-point-at
ES2015 `String#codePointAt()` ponyfill
Last updated 9 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm
$ cnpm install code-point-at 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (9 years ago)

1 Versions

  • 1.1.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org