Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
tickbin-entry-parser
Advanced tools
A parser to take strings that look like "May 4 2-4pm I did some #stuff" and parse out all the useful information like start/end time, date, tags, etc. into an object.
This package has been replaced. Please use tickbin-parser which has
superceded this package. The older entry-parser
will no longer be updated.
npm install tickbin-entry-parser
import Parser from 'tickbin-entry-parser'
// userId may be undefined if you don't wish to associate entry with user
const entry = new Parser(userId, 'May 4 2-4pm I did some #stuff')
// entry = {
// version: 4,
// user: undefined,
// _id: 'H1yifd_4',
// message: 'May 4 2-4pm I did some #stuff',
// ref: Fri Jun 10 2016 10:02:14 GMT-0700 (PDT),
// hasDates: true,
// start: Wed May 04 2016 14:00:00 GMT-0700 (PDT),
// startArr: [ 2016, 4, 4, 14, 0, 0, 0 ],
// end: Wed May 04 2016 16:00:00 GMT-0700 (PDT),
// endArr: [ 2016, 4, 4, 16, 0, 0, 0 ],
// time: 'May 4 2-4pm',
// duration: {
// [Number: 7200000]
// from: Wed May 04 2016 14:00:00 GMT-0700 (PDT),
// to: Wed May 04 2016 16:00:00 GMT-0700 (PDT)
// },
// tags: Set { '#stuff' }
// }
npm install
npm run build
npm test
FAQs
parse strings into entries
The npm package tickbin-entry-parser receives a total of 0 weekly downloads. As such, tickbin-entry-parser popularity was classified as not popular.
We found that tickbin-entry-parser 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.