Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

String.fromCodePoint

A robust & optimized `String.fromCodePoint` polyfill, based on the ECMAScript 6 specification.

Subscribe to updates I use String.fromCodePoint


Statistics on String.fromCodePoint

Number of watchers on Github 43
Number of open issues 2
Average time to close an issue about 3 hours
Main language JavaScript
Open pull requests 1+
Closed pull requests 0+
Last commit over 5 years ago
Repo Created over 6 years ago
Repo Last Updated over 2 years ago
Size 330 KB
Homepage https://mths.be/f...
Organization / Authormathiasbynens
Contributors1
Page Updated
Do you use String.fromCodePoint? Leave a review!
View open issues (2)
View String.fromCodePoint activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating String.fromCodePoint for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

ES6 String.fromCodePoint polyfill Build status Code coverage status

An robust & optimized ES3-compatible polyfill for the String.fromCodePoint method in ECMAScript 6.

Other polyfills for String.fromCodePoint are available:

Installation

In a browser:

<script src="fromcodepoint.js"></script>

Via npm:

npm install string.fromcodepoint

Then, in Node.js:

require('string.fromcodepoint');

// On Windows and on Mac systems with default settings, case doesnt matter,
// which allows you to do this instead:
require('String.fromCodePoint');

Notes

A polyfill + test suite for String.prototype.codePointAt is available, too.

The tests for this repository are now used by Mozilla, to help ensure their native String.fromCodePoint implementation is correct.

Author

twitter/mathias
Mathias Bynens

License

This polyfill is available under the MIT license.

String.fromCodePoint open pull requests (View All Pulls)
  • make CI build faster
String.fromCodePoint questions on Stackoverflow (View All Questions)
  • Can you use String.fromCodePoint just like String.fromCharCode
  • String.fromCodePoint() won't work in IE and tab key won't work in Firefox
  • Unexpected behaviour of String.fromCodePoint / String#codePointAt (Firefox/ES6)
String.fromCodePoint list of languages used
Other projects in JavaScript