Philipp Horstenkamp f3e1a62935
All checks were successful
Lint / pre-commit Linting (push) Successful in 44s
Dependency update
2025-04-08 22:05:18 +02:00

617 B

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