jakub.szymsza
  • Joined on 2024-08-13

@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

  1. Generate a new Gitea token at least with access to your packages and repositories
  2. Set up your .npmrc file 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

  1. Develop your functionality in the ./src directory and export your functions in ./index.mjs
  2. Generate a CommonJS entrypoint npm run rollup
  3. Increment your version number in package.json
  4. Push your changes to the repo
  5. 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
Details
npm
2025-01-27 09:46:08 +00:00
13
MIT
3.9 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