https://github.com/hypermedia-app/vocabularies
hypermedia.app vocabularies
https://github.com/hypermedia-app/vocabularies
Last synced: 10 days ago
JSON representation
hypermedia.app vocabularies
- Host: GitHub
- URL: https://github.com/hypermedia-app/vocabularies
- Owner: hypermedia-app
- License: mit
- Created: 2021-06-08T13:36:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T14:48:14.000Z (about 2 years ago)
- Last Synced: 2025-10-26T01:18:39.866Z (8 months ago)
- Language: TypeScript
- Size: 383 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @hydrofoil/vocabularies
Collection of vocabularies from the `https://hypermedia.app/` namespace
## Usage
### Builders
Easily construct terms using exported namespace builders
```typescript
import { knossos } from '@hydrofoil/vocabularies/builders'
const { memberTemplate } = knossos
```
### Extend `@zazuko/rdf-vocabularies`
Import somewhere at the beginning of your code
```javascript
import '@hydrofoil/vocabularies'
```
The namespaces will be added to the default selection and thus apply to the `expand/shrink` functionality as well as external libraries such as `@tpluscode/rdf-string`.
```javascript
import { prefixes } from '@zazuko/rdf-vocabularies'
```