New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

readesm

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readesm

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

latest
Source
npmnpm
Version
1.0.17
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

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 and produces .html and .json

npm run cli -- convert data/Input.ddd

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>

FAQs

Package last updated on 29 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts