mirror of https://github.com/gorhill/uBlock.git
Update README for npm package
This commit is contained in:
parent
9a286495a5
commit
daa62c3081
|
@ -27,6 +27,8 @@ and also lists of domain names or hosts file format (i.e. block lists from [The
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
See `./demo.js` in package for instructions to quickly get started.
|
||||||
|
|
||||||
At the moment, there can be only one instance of the static network filtering
|
At the moment, there can be only one instance of the static network filtering
|
||||||
engine ("SNFE"), which proxy API must be imported as follow:
|
engine ("SNFE"), which proxy API must be imported as follow:
|
||||||
|
|
|
@ -41,5 +41,4 @@ node -pe "JSON.stringify(Array.from(fs.readFileSync('src/lib/publicsuffixlist/wa
|
||||||
> $DES/lib/publicsuffixlist/wasm/publicsuffixlist.wasm.json
|
> $DES/lib/publicsuffixlist/wasm/publicsuffixlist.wasm.json
|
||||||
|
|
||||||
cp platform/nodejs/*.js $DES/
|
cp platform/nodejs/*.js $DES/
|
||||||
cp platform/nodejs/README.md $DES/
|
|
||||||
cp LICENSE.txt $DES/
|
cp LICENSE.txt $DES/
|
||||||
|
|
|
@ -20,6 +20,7 @@ cp platform/npm/*.json $DES/
|
||||||
cp platform/npm/.*.json $DES/
|
cp platform/npm/.*.json $DES/
|
||||||
cp platform/npm/*.js $DES/
|
cp platform/npm/*.js $DES/
|
||||||
cp -R platform/npm/tests $DES/
|
cp -R platform/npm/tests $DES/
|
||||||
|
cp platform/npm/README.md $DES/
|
||||||
|
|
||||||
cd $DES
|
cd $DES
|
||||||
cd tests/data
|
cd tests/data
|
||||||
|
|
Loading…
Reference in New Issue