Skip to content
Differences between Unicode versions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
5.0.0
5.1.0
5.2.0
6.0.0
6.1.0
6.2.0
6.3.0
7.0.0
8.0.0/9.0.0
bin
.gitignore
.npmignore
README.md
index.js
package.json

README.md

unicode-diff

Provides the differences between Unicode versions. Useful when dealing with programs that don't handle newer code points.

Installation

npm install unicode-diff --save

Usage

// Get an array of code point differences between Unicode 5.0.0 and 8.0.0
require('unicode-diff/5.0.0/8.0.0/code-points');
// Get a regular expression that matches any symbol introduced between Unicode
// 5.0.0 and 8.0.0
require('unicode-diff/5.0.0/8.0.0/regex');

Supports Unicode v5.0.0, v5.1.0, v5.2.0, v6.0.0, v6.1.0, v6.2.0, v6.3.0 and v7.0.0 through v9.0.0.

Generating the diff

npm run generate generates the diff based on Unicode data available in the devDependencies.

Note that the generate script uses const, let, for…of, Set and template strings.

Acknowledgements

Thanks to Mathias Bynens for providing the Unicode data and his amazing Regenerate tool.

License

This module is available under ISC.

You can’t perform that action at this time.