Skip to content
Snippets Groups Projects

pipeline status coverage report

duplication maintainability

release usage as download

EN | FR

Full english translation not released yet, see up-to-date FR version. (Pas de version anglaise pour l'instant, consultez la version française).

G1lib.js

An ubiquitous static javascript lib for Ǧ1 / Duniter ecosystem with reliability in mind.

  • Unit tested
  • Tracked quality metrics
  • Static package with no-dependency
  • modern esm import/export

Usage

Install nodejs then in cli :

npm install --save g1lib

In js :

import * as g1lib from "g1lib"

Other packaging use-case ? (asm, cjs...), ask for it

For user privacy, CDN should not be used in production. For quick prototyping without npm : https://g1.frama.io/g1lib.js/dist/all.mjs

Contribute

Ask for features or fix in issues.

Merge-request welcome. Quality requirement :

  • follow opinionated g1lib.js choices
  • covered by unit-tests
  • follow Clean Code good practices ISBN : 978-0-1323-5088-4

If you need help to reach quality requirement, ask it (in issue or merge-request).

Funding

Ǧ1 and common fiat are welcome (crypto currencies are welcome to but i don't allready have wallet).

G1Lib.js author and maintainer is [1000i100] Millicent Billette.

To send me money, all you need is at the bottom of this document : CGV.