Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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'
```