1.4.14 • Published 5 years ago

nkyimu v1.4.14

Weekly downloads
46
License
GPL-3.0-only
Repository
-
Last release
5 years ago

nkyimu

A library written in TypeScript that allows creating self validating AkomaNtoso documents

Background of the Name

The Akoma Ntoso LegalDocML standard was named after the West African symbol by the same name, meaning "linked hearts". We chose to use another Adinkra symbol NKYIMU, which is the symbol of skillfulness and precision: http://www.adinkra.org/htmls/adinkra/nkyimu.htm This library will hopefully help in creating AkomaNtoso documents with more skill and precision.

Examples

You can generate the AkN document either manually or using the auto-generator. Both examples are provided in the examples folder.

To generate a Nkyimu node using the nodeName, use the available engine module:

import { Engine, Helpers } from 'nkyimu';

const section = Engine.Generator.createNode('section');

const text = Engine.Generator.createNode('', 'Text node over here');

Contribution

After making any addition, modification or removal of the source files, you will need to regenerate the required index files and the element map that is used to link an AkN element and a Nkyimu element:

Generate the index files and compile:

yarn compile

To clean all the generated files run:

yarn clean
1.4.14

5 years ago

1.4.13

5 years ago

1.4.12

5 years ago

1.4.11

5 years ago

1.4.10

5 years ago

1.4.9

5 years ago

1.4.8

5 years ago

1.4.7

5 years ago

1.4.6

5 years ago

1.4.5

5 years ago

1.4.4

5 years ago

1.4.3

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.9

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago