Block a user
@datagift/ttl-helpers (1.0.1)
Published 2025-01-27 09:46:08 +00:00 by jakub.szymsza
Installation
@datagift:registry=npm install @datagift/ttl-helpers@1.0.1"@datagift/ttl-helpers": "1.0.1"About this package
TTL helpers
Helper functions for working with TTL files. Loading, parsing, converting.
How-to
Develop the package
One-time configuration
- Generate a new Gitea token at least with access to your packages and repositories
- Set up your
.npmrcfile in the root directory of this repo based on.npmrc.example
registry=https://gitea.redpencil.io/api/packages/jakub.szymsza/npm/
//gitea.redpencil.io/api/packages/jakub.szymsza/npm/:_authToken=XXXTOKENXXX
//gitea.redpencil.io/api/packages/npm/:_authToken=XXXTOKENXXX
Developing your changes
- Develop your functionality in the
./srcdirectory and export your functions in./index.mjs - Generate a CommonJS entrypoint
npm run rollup - Increment your version number in
package.json - Push your changes to the repo
- Publish the package
npm publish --access public
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 |