@sutton-signwriting/unicode8

@sutton-signwriting/unicode8 is a javascript package for processing SignWriting in Unicode 8 (uni8) characters. See SignWriting#Unicode for more information about the characters and notofont/sign-writing for more information about the Unicode compliant font.
This package also supports Formal SignWriting in ASCII (FSW) and SignWriting in Unicode (SWU) character sets. See draft-slevinski-formal-signwriting for detailed specification.
Author: https://SteveSlevinski.me
Channel: https://www.youtube.com/channel/UCXu4AXlG0rXFtk_5SzumDow
Support: https://www.patreon.com/signwriting
Donate: https://donate.sutton-signwriting.io
Useful links
Types of files
The source is written in small ES Modules available in the src
directory along with the associated tests.
The distribution is available in three flavors. Minified, the whole library is 2 KB in size.
- .js - Universal Module Definition
- .cjs - CommonJS
- .mjs - ES Module
Installation
Download and Install with NPM
npm install @sutton-signwriting/unicode8
Developer Installation
Download from GitHub and Install Development Dependencies
wget https://github.com/sutton-signwriting/unicode8/archive/master.zip
unzip master.zip
cd unicode8-master
npm install
Usage
Using in Node
// import entire library
const unicode8 = require('@sutton-signwriting/unicode8');
// import individual module
const unicode8Symbol = require('@sutton-signwriting/unicode8/symbol');
Using in the Browser
Local files
// import entire library
// available as ssw.unicode8
<script src="unicode8.js"></script>
// import individual module
// available as ssw.unicode8.symbol
<script src="symbol/symbol.js"></script>
Unpkg
// import entire library
// available as ssw.unicode8
<script src="https://unpkg.com/@sutton-signwriting/unicode8@1.1.0"></script>
// import individual module
// available as ssw.unicode8.font
<script src="https://unpkg.com/@sutton-signwriting/unicode8@1.1.0/font/font.js"></script>
License
MIT
SignWriting General Interest