Javascript library for timing, synchronization and control in Web applications.
npm install webtiming-timingsrcWeb Documentation for timingsrc available at http://webtiming.github.io/timingsrc/
Timingsrc includes source code and documentation for timing related libraries managed by Multi-Device Timing Community Group
The timingsrc library is available under the LGPL licence.
This implements the Timing Object Draft Spec as well as a set of Timing Converters.
This implements tools for timed sequencing based on the Timing Object.
Install Node and NPM (Node Packet Manager)
#### Ubuntu Instructions
Update if necessary
``sh`
sudo apt update
sudo apt-get update
Add NodeSource repository for Nodejs and NPM (Node Packet Manager)
`sh
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
to install Node.js 14.x and npm
#### Install Package Dependencies
- Bundler: Rollup.
- Script Minifier: Terser
- Bundler Plugin: Rollup-Plugin-Terser
Install from package.json
`sh
cd ~/timingsrc
npm install
`Alternatively, install manually
`sh
Install Rollup
npm install rollup --save-dev
npm install terser --save-dev
npm install rollup-plugin-terser --save-dev
`Install node modules
- rollup
- terser
- rollup-plugin-terser
`sh
./compile.py v3
``