2.4.5 • Published 5 months ago

interscript v2.4.5

Weekly downloads
30
License
BSD-2-Clause
Repository
github
Last release
5 months ago

Interscript-JS: Interoperable Script Conversion Systems for JavaScript

Purpose

This repository contains code for the Interscript JavaScript runtime ("Interscript-JS").

This software allows performing script conversions by using the https://github.com/interscript/maps[default set of Interscript maps] hosted at GitHub.

Interscript is a project for interoperable script conversion systems and provides executable runtimes for multiple platforms. Full documentation available https://github.com/interscript/interscript/[here].

Integration

This section provides instructions on how to utilize Interscript-JS with your application.

Interscript-JS can be used as a JS NPM library and integrated with other JS applications.

Configuration for NPM

$ npm install interscript

== Usage

=== Usage in Node.js

var Interscript = require('interscript');
Interscript.load_map('bgnpcgn-ukr-Cyrl-Latn-2019').then(function() {
  alert(Interscript.transliterate('bgnpcgn-ukr-Cyrl-Latn-2019', prompt()));
});

=== Usage in web browsers

Please consult js/index.html.

=== Usage in Webpack

This library should be mostly compatible with webpack. It may be necessary to supply a path to the maps, as those are not bundled by default.

To do so, you need to do something like:

Interscript.map_path = "/node_modules/interscript/src/maps/";

=== Getting a list of available maps

The following code retrieves the full list of maps available.

Interscript.load_map_list().then(function() {
  var list = Interscript.map_list();
});

== Copyright & license

This is a Ribose project. Copyright Ribose.

License: BSD 2-clause

2.4.5

5 months ago

2.4.1

3 years ago

2.4.0

3 years ago

2.4.0-a3

3 years ago

2.3.2

3 years ago

2.3.1-a

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.1.0-rc4

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.1.0-b6

3 years ago

2.1.0-b7

3 years ago

2.1.0-b4

3 years ago

2.1.0-b5

3 years ago

2.1.0-b2

3 years ago

2.1.0-b3

3 years ago

2.1.0-b1

3 years ago

2.1.0-a9

3 years ago

2.1.0-a8

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago