verace.js - v1.0.2

Verace.js

An assorted collection of tools

code style: prettier CI npm version

Compontents

Build Tool /bt

  • Compatable with typescript and go
  • Produces a self-contained executable from typescript
  • Asset embedding
  • Typescript API
  • Dynamic build hooks (e.g. build time)

Running

$ npx verace -p verace.js

See the [ build tool docs ] for more.

Threading Pools /tp

  • Easy multithreading from a worker

Running

$ npx tp -p verace.js

See the threading pools docs for more.

Hacking

Prerequisites

The following local dependencies are needed in $PATH

Installing package dependencies

  1. Install npm dependencies for all subprojects:
$ npm run dep

Building

All projects are built with verace. Each one's configuration allows a unified build command:

$ verace build-exe

Contributing

PR Checklist

Note you must have the latest verace build accessible in your $PATH. E.g. by running

$ cp bt/bin/verace ~/.local/bin
  1. Code styling
$ npm run lint
  1. Testing
$ npm run test
  1. VHS Gifs
$ npm run vhs
  1. API Reference
$ npm run doc

Or run

$ npm run predep

for all of them at once.