
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
react-day-input
Advanced tools
A simple date picker for React, powered by Moment.
Check out the live demo here: http://abasystems.github.io/react-day-input/
Install the package with npm:
npm install react-day-input
Then require and use with ES6 imports:
import React from 'react'
import { StrictDayInput } from 'react-day-input'
class MyForm extends React.Component {
constructor(props) {
super(props);
this.state = {
...this.state,
dueBy: null,
};
}
render() {
return (
<form>
<StrictDayInput
value={this.state.dueBy}
onChange={(newDate) => {
this.setState({dueBy: newDate});
}}
/>
<button type="submit">Submit</button>
</form>
);
}
}
And include the built css with an import:
@import 'node_modules/react-day-input/dist/react-day-input.css';
or tag:
<link href="static/node_modules/react-day-input/dist/react-day-input.css" rel="stylesheet">
Full reference documentation coming soon. For now, take a look at the reference on the live demo at http://abasystems.github.io/react-day-input/.
FAQs
A simple date picker for React, powered by Moment.
The npm package react-day-input receives a total of 4 weekly downloads. As such, react-day-input popularity was classified as not popular.
We found that react-day-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.