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 ## 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:

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 > $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/

View File

@ -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