fontoxpath

v3.33.0
A minimalistic XPath 3.1 engine in JavaScript
FontoXPath fontoxpath FontoXML XPath XPath3.1 xpath xpath3.1 W3C w3c and 10 more...

alltests

ts-mocha --paths --project test/tsconfig.json "test/specs/**/*.ts" test/qt3tests.ts test/qt3testsXQueryX.ts test/xqutsTests.ts test/xqutsTestsXQueryX.ts

build

node ./build.js

ci-qt3tests

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha --paths --project test/qt3tests.ts

ci-qt3testsxqueryx

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha --paths --project test/qt3testsXQueryX.ts

ci-test

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha "test/specs/**/*.ts" --parallel

ci-test-jscodegen

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha "test/specs/**/*.ts" --parallel -- --jscodegen

ci-xqutstests

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha test/xqutsTests.ts

ci-xqutstestsxqueryx

cross-env TS_NODE_PROJECT=test/tsconfig.json nyc --no-clean --require ts-node/register --require tsconfig-paths/register mocha --paths --parallel test/xqutsTestsXQueryX.ts

coverage

nyc report --reporter=text-lcov

integrationtests

ts-mocha --require test/testhook.js "test/specs/parsing/**/*.ts" --parallel

prepare

npm run build

qt3performance

ts-node --project test/tsconfig.json -r tsconfig-paths/register test/qt3testsBenchmark.ts

qt3tests

ts-mocha --paths --project test/tsconfig.json test/qt3tests.ts

qt3testsxqueryx

ts-mocha --paths --project test/tsconfig.json test/qt3testsXQueryX.ts

test

ts-mocha --require test/testhook.js "test/specs/**/*.ts" --project test/tsconfig.json

test-jscodegen

ts-mocha --require test/testhook.js "test/specs/**/*.ts" --project test/tsconfig.json -- --jscodegen

xqutstests

ts-mocha --paths --project test/tsconfig.json test/xqutsTests.ts

xqutstestsxqueryx

ts-mocha --paths --project test/tsconfig.json test/xqutsTestsXQueryX.ts

browsertests

karma start

lint

eslint "./src/**/*.ts" "./test/**/*.ts"

lint-fix

eslint "./src/**/*.ts" "./test/**/*.ts" --fix

fuzzer

ts-node -P fuzzers/tsconfig.json -r tsconfig-paths/register fuzzers/index.ts

fuzzertest

ts-mocha --paths --project test/tsconfig.json test/corpusfuzzertests.ts
npm i fontoxpath

Metadata

  • MIT
  • Whatever
  • The FontoXML team
  • released 8/13/2024

Downloads