@rangefoundry/catalog 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +27 -0
- package/LICENSE-AGPL +661 -0
- package/README.md +21 -1
- package/dist/bundle.json +1 -0
- package/dist/caliber-classes.d.ts +5 -0
- package/dist/caliber-classes.js +44 -0
- package/dist/catalogue.d.ts +237 -0
- package/dist/catalogue.js +2 -0
- package/dist/coverage.d.ts +12 -0
- package/dist/coverage.js +86 -0
- package/dist/data-set-rule.d.ts +12 -0
- package/dist/data-set-rule.js +37 -0
- package/dist/data-set.d.ts +12 -0
- package/dist/data-set.js +26 -0
- package/dist/event-types.d.ts +3 -0
- package/dist/event-types.js +49 -0
- package/dist/federations.d.ts +13 -0
- package/dist/federations.js +96 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +11 -0
- package/dist/json-object.d.ts +2 -0
- package/dist/json-object.js +3 -0
- package/dist/load-tables.d.ts +12 -0
- package/dist/load-tables.js +73 -0
- package/dist/maker-rows.d.ts +37 -0
- package/dist/maker-rows.js +201 -0
- package/dist/names.d.ts +10 -0
- package/dist/names.js +121 -0
- package/dist/plausibility.d.ts +47 -0
- package/dist/plausibility.js +399 -0
- package/dist/published-loads.d.ts +44 -0
- package/dist/published-loads.js +294 -0
- package/dist/records.d.ts +40 -0
- package/dist/records.js +160 -0
- package/dist/references.d.ts +30 -0
- package/dist/references.js +163 -0
- package/dist/sources.d.ts +24 -0
- package/dist/sources.js +130 -0
- package/package.json +61 -4
package/README.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
1
|
# @rangefoundry/catalog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The RangeFoundry catalogue records as one JSON bundle and the checks the records pass. The package reads no files.
|
|
4
|
+
|
|
5
|
+
With Node 22 or later:
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
npm install @rangefoundry/catalog
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```js
|
|
12
|
+
import bundle from '@rangefoundry/catalog/bundle.json' with { type: 'json' }
|
|
13
|
+
import { twistPlausible } from '@rangefoundry/catalog/plausibility'
|
|
14
|
+
|
|
15
|
+
console.log(bundle.cartridges.length > 0) // true
|
|
16
|
+
console.log(twistPlausible(254)) // true
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Documentation: https://rangefoundry.github.io/workbench/docs/libraries/catalog/
|
|
20
|
+
|
|
21
|
+
Changes: https://github.com/RangeFoundry/workbench/blob/main/packages/catalog/CHANGELOG.md
|
|
22
|
+
|
|
23
|
+
License: code AGPL-3.0-or-later. Data records (`records/`): each source states its license in its `license` field, data from a source without one is CC BY-SA 4.0, except data a maker published (a source with `origin` `manufacturer`), which carries no project license (see `LICENSE`).
|