readesm-js
JavaScript implementation of the reader of ESM tachograph files from https://sourceforge.net/p/readesm/code/HEAD/tree/
Last updated 2 months ago by denissolo .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install readesm-js 
SYNC missed versions from official npm registry.

readesm-js

JavaScript implementation of the reader of ESM tachograph files from https://sourceforge.net/p/readesm/code/HEAD/tree/

Works under Node (https://nodejs.org/) and in browsers.

Build

Working JavaScript FILE is commmited in htmlpage/js/main.EsmDownloader.bundle.js

To build a new version from TypeScript source code

python generator/generate.py

npm install
npm run build
npm run test

To publish

npm build:lib  # (optional)
npm publish

Command line

The command below will read <file> and produces <file>.html and <file>.json

npm run cli -- convert data/Input.ddd

Browser link

The example below downloads DDD file, convert into JSON on the fly and saves into user downloads. See full example in htmlpage/download.html

<script src="js/main.EsmDownloader.bundle.js"></script>

<a href="javascript:EsmDownloader.downloadEsmAsJson('files/Input.ddd');">Input.ddd JSON</a>

<a href="javascript:EsmDownloader.downloadEsmAsHtml('files/Input.ddd');">Input.ddd HTML</a>

Current Tags

  • 1.0.12                                ...           latest (2 months ago)

9 Versions

  • 1.0.12                                ...           2 months ago
  • 1.0.11                                ...           6 months ago
  • 1.0.10                                ...           6 months ago
  • 1.0.9                                ...           6 months ago
  • 1.0.8                                ...           6 months ago
  • 1.0.7                                ...           6 months ago
  • 1.0.6                                ...           6 months ago
  • 1.0.5                                ...           6 months ago
  • 1.0.4                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |