jakub.szymsza
  • Joined on 2024-08-13

@datagift/ttl-helpers (1.0.5)

Published 2025-05-12 14:32:28 +00:00 by jakub.szymsza

Installation

@datagift:registry=
npm install @datagift/ttl-helpers@1.0.5
"@datagift/ttl-helpers": "1.0.5"

About this package

TTL helpers

Helper functions for working with TTL files. Loading, parsing, converting.

How-to

Develop the package

Develop your functionality in the ./src directory and export your functions in ./index.mjs

Publish a development version

Development versions should be considered unstable, as the same package version can contain different and buggy code at different times.

  1. Use a dev suffix for your version, e.g., 1.0.10-dev.
  2. Develop your functionality.
  3. If you're publishing this exact version for the first time, run npm run pub-dev
  4. If you're publishing updates to a previously published development version, run npm run repub-dev

Caution! Running repub-dev will remove the latest published version, even if it is stable! Before running repub-dev, always make sure that a development version with the same number already exists.

Publish a production version

  1. Increment your version number in package.json without the dev suffix, e.g., 1.0.11
  2. Merge your changes to the main branch and tag the latest commit git tag v.X.Y.Z && git push origin --tags
  3. Woodpecker will automatically build and release a new version

Reference

For a list of available functions, see ./index.mjs. See the functions' docstrings for more details.

Dependencies

Dependencies

ID Version
@rdfjs/data-model ^2.0.2
jsonld-streaming-serializer ^3.0.1
n3 ^1.17.4

Development Dependencies

ID Version
rollup ^4.30.1
Details
npm
2025-05-12 14:32:28 +00:00
26
MIT
latest
4.6 KiB
Assets (1)
Versions (6) View all
1.0.5 2025-05-12
1.0.4 2025-05-12
1.0.3 2025-02-24
1.0.2 2025-01-27
1.0.1 2025-01-27