Block a user
@datagift/ttl-helpers (1.0.4)
Published 2025-05-12 12:33:35 +00:00 by jakub.szymsza
Installation
@datagift:registry=npm install @datagift/ttl-helpers@1.0.4"@datagift/ttl-helpers": "1.0.4"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.
- Use a
devsuffix for your version, e.g.,1.0.10-dev. - Develop your functionality.
- If you're publishing this exact version for the first time, run
npm run pub-dev - 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
- Increment your version number in
package.jsonwithout thedevsuffix, e.g.,1.0.11 - Merge your changes to the
mainbranch and tag the latest commitgit tag v.X.Y.Z && git push origin --tags - 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 |