1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-22 02:12:44 +01:00

Update README for npm package

This commit is contained in:
Raymond Hill 2024-10-07 08:56:34 -04:00
parent 9a286495a5
commit daa62c3081
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
3 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,8 @@ and also lists of domain names or hosts file format (i.e. block lists from [The
## 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
engine ("SNFE"), which proxy API must be imported as follow:

View File

@ -41,5 +41,4 @@ node -pe "JSON.stringify(Array.from(fs.readFileSync('src/lib/publicsuffixlist/wa
> $DES/lib/publicsuffixlist/wasm/publicsuffixlist.wasm.json
cp platform/nodejs/*.js $DES/
cp platform/nodejs/README.md $DES/
cp LICENSE.txt $DES/

View File

@ -20,6 +20,7 @@ cp platform/npm/*.json $DES/
cp platform/npm/.*.json $DES/
cp platform/npm/*.js $DES/
cp -R platform/npm/tests $DES/
cp platform/npm/README.md $DES/
cd $DES
cd tests/data