
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
advanced-date-parser
Advanced tools
A date parser middleware, to parse date into Javascript Date Objects
If you do not have nodejs installed on your machine, download and install NodeJS. (NodeJS > 6.x Required)
Install advanced-date-parser npm package advanced-date-parser:
With NPM:
$ cd <project path>
npm install --save advanced-date-parser
// create a variable into server.js
const dateParser = require('advanced-date-parser');
// typescript
import * as dateParser from "advanced-date-parser";
It can be used in many different ways
app.use(dateParser.queryDateParser());
app.use(dateParser.bodyDateParser());
app.use(dateParser.dateParser());
dateParser.parse(<OBJECT|STRING|NUMBER>);
NOTE: Just set strict mode to false, if you want to parse all date values
// Default strict mode is on
app.use(dateParser.queryDateParser(), false);
app.use(dateParser.bodyDateParser(), false);
app.use(dateParser.dateParser(), false);
dateParser.parse(<OBJECT|STRING|NUMBER>, false);
Clone the project:
$ git clone
$ npm install
Run the tests:
$ mocha
Deploy:
Update version before (package)
$ git tag v*.*.*
$ git push origin master --tags
If you do find an issue or have a question consider posting it on the Issues.
FAQs
A date parser middleware, to parse date into Javascript Date Objects
The npm package advanced-date-parser receives a total of 48 weekly downloads. As such, advanced-date-parser popularity was classified as not popular.
We found that advanced-date-parser demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.