
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@jackens/from-now
Advanced tools
‘from-now’ provides function ‘fromNow’ similar to moment.js’ one. Works in both Node.js and the browser.
‘from-now’ provides function fromNow
similar to moment.js’ one.
Works in both Node.js and the browser.
npm install @jackens/from-now
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/from-now/master/from-now.js"></script>
or
<script type="text/javascript" src="https://cdn.rawgit.com/jackens/from-now/master/from-now.min.js"></script>
or
<script type="text/javascript" src="https://unpkg.com/@jackens/from-now/from-now.js"></script>
or
<script type="text/javascript" src="https://unpkg.com/@jackens/from-now/from-now.min.js"></script>
var fromNow = require('@jackens/from-now')
// fromNow.lang = 'pl' // default
console.log(fromNow('2018-04-24T23:59:59.999Z'))
fromNow.lang = 'en'
console.log(fromNow('2018-04-24T23:59:59.999Z'))
Translations can be easily extended or modified
console.log(fromNow.langs)
FAQs
‘from-now’ provides function ‘fromNow’ similar to moment.js’ one. Works in both Node.js and the browser.
The npm package @jackens/from-now receives a total of 7 weekly downloads. As such, @jackens/from-now popularity was classified as not popular.
We found that @jackens/from-now 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.