docs: update package name

This commit is contained in:
Chen Asraf
2023-05-02 00:31:27 +03:00
committed by Chen Asraf
parent e14514d71f
commit e6773639da
2 changed files with 5 additions and 4 deletions

View File

@@ -95,17 +95,18 @@ const result = [
## How to use
Install the package using `npm` or `yarn`:
Install the package using `pnpm`, `npm` or `yarn`:
```shell
npm install search-ast-parser
yarn add search-ast-parser
pnpm add search-parse
npm install search-parse
yarn add search-parse
```
Simply pass a string to the parse function to get the results.
```js
import { parse } from 'search-ast-parser'
import { parse } from 'search-parse'
const results = parse('(mango banana lemon) OR apple -pineapple')
```

View File