change naming

main v0.1.0
HerrHase 2 years ago
parent 77c747e1ab
commit ae603c64b0

@ -5,14 +5,14 @@
Setup this registry in your project .npmrc file:
```
@helpers:registry=https://gitea.node001.net/api/packages/HerrHase/npm/
@site-o-mat:registry=https://gitea.node001.net/api/packages/site-o-mat/npm/
```
Install with npm or yarn
```
npm i --save-dev @helpers/siteomat-query
yarn add --dev @helpers/siteomat-query
npm i --save-dev @site-o-mat/query
yarn add --dev @site-o-mat/query
```
## Filter
@ -20,7 +20,7 @@ yarn add --dev @helpers/siteomat-query
Basic Usage:
```
import { Filter } from '@helpers/siteomat-query'
import { Filter } from '@site-o-mat/query'
const filter = new Filter(options)
const isValid = filter.validate(result)
@ -47,7 +47,7 @@ Skip or Limit Elements from a an Array.
Basic Usage:
```
import { reduce } from '@helpers/siteomat-query'
import { reduce } from '@site-o-mat/query'
results = reduce({
limit: 5
}, results)
@ -67,7 +67,7 @@ Order elements in Array by name of property, default is 'asc', a '-' of the name
Basic Usage:
```
import { orderBy } from '@helpers/siteomat-query'
import { orderBy } from '@site-o-mat/query'
results = orderBy([
-published_at
], results)

Loading…
Cancel
Save