Sha256: f4365a287885e1efda0a5edef3b67f23260b169d4c70050fbfb665c75269dbf9
Contents?: true
Size: 617 Bytes
Versions: 108
Compression:
Stored size: 617 Bytes
Contents
# code-point-at [![Build Status](https://travis-ci.org/sindresorhus/code-point-at.svg?branch=master)](https://travis-ci.org/sindresorhus/code-point-at) > ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com) ## Install ``` $ npm install --save code-point-at ``` ## Usage ```js var codePointAt = require('code-point-at'); codePointAt('🐴'); //=> 128052 codePointAt('abc', 2); //=> 99 ``` ## API ### codePointAt(input, [position]) ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Version data entries
108 entries across 86 versions & 17 rubygems