ISO 15924 list of scripts
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitignore
.npmrc
.prettierignore
.travis.yml
LICENSE
build.js
index.json
package.json
readme.md
test.js

readme.md

iso-15924 Build Status

ISO 15924 codes in an accessible format, all of them.

Installation

npm:

npm install iso-15924

Usage

var iso15924 = require('iso-15924')

iso15924.length // => 197

console.log(iso15924.slice(0, 10))

Yields:

[ { code: 'Adlm',
    name: 'Adlam',
    numeric: '166',
    pva: 'Adlam',
    date: '2016-12-05' },
  { code: 'Afak',
    name: 'Afaka',
    numeric: '439',
    pva: null,
    date: '2010-12-21' },
  { code: 'Aghb',
    name: 'Caucasian Albanian',
    numeric: '239',
    pva: 'Caucasian_Albanian',
    date: '2014-11-15' },
  { code: 'Ahom',
    name: 'Ahom, Tai Ahom',
    numeric: '338',
    pva: 'Ahom',
    date: '2015-07-07' },
  { code: 'Arab',
    name: 'Arabic',
    numeric: '160',
    pva: 'Arabic',
    date: '2004-05-01' },
  { code: 'Aran',
    name: 'Arabic (Nastaliq variant)',
    numeric: '161',
    pva: null,
    date: '2014-11-15' },
  { code: 'Armi',
    name: 'Imperial Aramaic',
    numeric: '124',
    pva: 'Imperial_Aramaic',
    date: '2009-06-01' },
  { code: 'Armn',
    name: 'Armenian',
    numeric: '230',
    pva: 'Armenian',
    date: '2004-05-01' },
  { code: 'Avst',
    name: 'Avestan',
    numeric: '134',
    pva: 'Avestan',
    date: '2009-06-01' },
  { code: 'Bali',
    name: 'Balinese',
    numeric: '360',
    pva: 'Balinese',
    date: '2006-10-10' } ]

API

iso15924

Array.<Script> — List of scripts.

Script

Object:

  • name (string) — Script name
  • code (string) — Four-character ISO 15924 code
  • numeric (string) — Three-character ISO 15924 code
  • pva (string?) — Property Value Alias
  • date (string) — Date of addition

Related

License

MIT © Titus Wormer