diff --git a/README.md b/README.md index 9a19c91..952e2c6 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,7 @@ > Another simple parser for advanced search query syntax. -> This version is a fork of https://github.com/mixmaxhq/search-string but it is actively maintained and uses TypeScript. - -[![npm version](https://badge.fury.io/js/%40approvals-cloud%2Fadvanced-search-query.svg)](https://badge.fury.io/js/%40approvals-cloud%2Fadvanced-search-query) +[![npm version](https://badge.fury.io/js/advanced-search-query.svg)](https://badge.fury.io/js/advanced-search-query) It parses typical Gmail-style search strings like: @@ -17,13 +15,13 @@ And returns an instance which can be mutated, return different data structures, ## Installation ```shell -$ yarn add @approvals-cloud/advanced-search-query +$ yarn add advanced-search-query ``` ## Usage ```javascript -const AdvancedSearchQuery = require('@approvals-cloud/advanced-search-query') +import AdvancedSearchQuery from 'advanced-search-query' // Perform parsing const str = 'to:me -from:joe@mixmax.com foobar1 -foobar2' diff --git a/package.json b/package.json index fdda708..9f230a4 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@approvals-cloud/advanced-search-query", + "name": "advanced-search-query", "version": "0.0.0-development", "description": "Another parser for advanced search query syntax.", "main": "build/cjs/src/index.js",