{"id":19123180,"url":"https://github.com/digitalbazaar/context-template","last_synced_at":"2025-05-05T18:33:36.871Z","repository":{"id":44786692,"uuid":"292652979","full_name":"digitalbazaar/context-template","owner":"digitalbazaar","description":"JSON-LD Context template (with npm package export).","archived":false,"fork":false,"pushed_at":"2023-06-30T03:03:17.000Z","size":36,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-19T11:08:41.432Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digitalbazaar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-03T18:46:00.000Z","updated_at":"2024-01-12T23:47:31.000Z","dependencies_parsed_at":"2024-11-09T05:35:02.454Z","dependency_job_id":null,"html_url":"https://github.com/digitalbazaar/context-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fcontext-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fcontext-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fcontext-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalbazaar%2Fcontext-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalbazaar","download_url":"https://codeload.github.com/digitalbazaar/context-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252553108,"owners_count":21766830,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T05:24:37.999Z","updated_at":"2025-05-05T18:33:36.846Z","avatar_url":"https://github.com/digitalbazaar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FIXME JSON-LD Context _(@digitalbazaar/FIXME-context)_\n\n[![Build status](https://img.shields.io/github/actions/workflow/status/digitalbazaar/FIXME-context/main.yml)](https://github.com/digitalbazaar/FIXME-context/actions/workflow/main.yml)\n[![NPM Version](https://img.shields.io/npm/v/@digitalbazaar/FIXME-context.svg)](https://npm.im/@digitalbazaar/FIXME-context)\n\n\u003e A FIXME JSON-LD context for JavaScript.\n\n## Table of Contents\n\n- [Background](#background)\n- [Install](#install)\n- [Usage](#usage)\n- [Developing](#developing)\n- [Commercial Support](#commercial-support)\n- [License](#license)\n\n## Background\n\nSee also (related specs):\n\n* [FIXME](https://FIXME/FIXME)\n\n## Install\n\n- Requires Node.js 18+.\n\nTo install via NPM:\n\n```\nnpm install @digitalbazaar/FIXME-context\n```\n\n## Usage\n\n```js\n// ESM\nimport * as ctx from '@digialbazaar/FIXME-context';\n// CommonJS\nconst ctx = require('@digitalbazaar/FIXME-context');\nconst {contexts, constants, appContextMap} = ctx;\n\n// Default context URL\nctx.CONTEXT_URL\n// -\u003e 'https://w3id.org/FIXME/v1'\n\n// Default context data\nctx.CONTEXT\n// -\u003e full context object\n\n// Default codec term map value for CBOR-LD\nctx.constants.CBORLD_VALUE\n// -\u003e  0x0..\n```\n\nThis package can be used with bundlers, such as [webpack][], in browser\napplications.\n\n## API\n\nThe library exports the following properties:\n- `CONTEXT_URL`: Default context URL.\n- `CONTEXT`: Default context data.\n- `CBORLD_VALUE`: Default codec term map value for [CBOR-LD][].\n- `constants`: A Object that maps constants to well-known context URLs. The\n  main constant `CONTEXT_URL` may be updated from time to time to the\n  latest context location.\n- `contexts`: A `Map` that maps all context URLs to full context data.\n- `appContextMap`: For use with the [cborld][] library.\n\n## Status\n\n- `https://w3id.org/FIXME/v1`: Under development. Not stable.\n\n## Developing\n\nSource is available at:\n- https://github.com/digitalbazaar/FIXME-context\n\n**WARNING**: The `.jsonld` in `contexts/` is auto-generated by the `npm run\nbuild` script, each time you run the test suite.\n\nDo NOT edit it directly (or your changes will be quickly overwritten).\nInstead, make all context changes to `js/context.js`.\n\n## Commercial Support\n\nCommercial support for this library is available upon request from\nDigital Bazaar: support@digitalbazaar.com\n\n## License\n\n- BSD 3-Clause © Digital Bazaar\n- See the [LICENSE](./LICENSE) file for details.\n\n[CBOR-LD]: https://digitalbazaar.github.io/cbor-ld-spec/\n[cborld]: https://github.com/digitalbazaar/cborld\n[webpack]: https://webpack.js.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fcontext-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalbazaar%2Fcontext-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalbazaar%2Fcontext-template/lists"}