mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-23 02:42:41 +01:00
update npm README
This commit is contained in:
parent
1a7f74aec9
commit
500c895f6b
@ -5,7 +5,7 @@ no external dependencies.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Install: `npm install --save @gorhill/ubo-core`
|
Install: `npm install @gorhill/ubo-core`
|
||||||
|
|
||||||
This is a very early version and the API is subject to change at any time.
|
This is a very early version and the API is subject to change at any time.
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ const snfe = await useRawLists([
|
|||||||
|
|
||||||
`useRawLists()` returns a reference to the SNFE, which you can use later to
|
`useRawLists()` returns a reference to the SNFE, which you can use later to
|
||||||
match network requests. First we need a filtering context instance, which is
|
match network requests. First we need a filtering context instance, which is
|
||||||
required as an argument to match networkrequests:
|
required as an argument to match network requests:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const fctxt = new FilteringContext();
|
const fctxt = new FilteringContext();
|
||||||
|
Loading…
Reference in New Issue
Block a user