Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
##Install ###In Browser
###In Node.js Install using:
npm install cannonian
Include using:
var Cannonian = require('cannonian');
##Usage ###Constructor
var cannonian = new Cannonian();
The constructor has 3 parameters:
####Recognised p formats
###Public Functions ####toStan
var cannonian = new Cannonian('12:00');
cannonian.toStan(3); // '12:00:00'
Returns the standard time in 24-hour string.
####toCann
var cannonian = new Cannonian('12:00');
cannonian.toCann(3); // '50.000'
Returns the cannononian time in decimal-style string.
####ToDec
var cannonian = new Cannonian('12.345');
cannonian.toDec(5); // 0.12345
Returns a decimal value equivalent to cannonian time.
FAQs
Metric time converter
The npm package cannonian receives a total of 5 weekly downloads. As such, cannonian popularity was classified as not popular.
We found that cannonian demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.