Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hypermedia-app/vocabularies
hypermedia.app vocabularies
https://github.com/hypermedia-app/vocabularies
Last synced: 5 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 (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-08T14:48:14.000Z (7 months ago)
- Last Synced: 2024-10-28T14:23:52.268Z (17 days ago)
- Language: TypeScript
- Size: 383 KB
- Stars: 0
- Watchers: 3
- 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'
```