Skip to content

Buildless ESM solution to scan streams of characters, match patterns and generate events

License

Notifications You must be signed in to change notification settings

environment-safe/character-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

character-scanner

Scan character buffers for patterns and generate events in javascript

Usage

Testing

Run the es module tests to test the root modules

npm run import-test

to run the same test inside the browser:

npm run browser-test

to run the same test headless in chrome:

npm run headless-browser-test

to run the same test inside docker:

npm run container-test

Run the commonjs tests against the /dist commonjs source (generated with the build-commonjs target).

npm run require-test

Development

All work is done in the .mjs files and will be transpiled on commit to commonjs and tested.

If the above tests pass, then attempt a commit which will generate .d.ts files alongside the src files and commonjs classes in dist

About

Buildless ESM solution to scan streams of characters, match patterns and generate events

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published