Socket
Socket
Sign inDemoInstall

date-fp

Package Overview
Dependencies
1
Maintainers
2
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    date-fp

Functional programming date management.


Version published
Weekly downloads
1.2K
increased by15.21%
Maintainers
2
Install size
193 kB
Created
Weekly downloads
 

Readme

Source

date-fp

Circle CI npm version Gitter

date-fp is a utility library for working with JavaScript dates.

Motivation

There are several excellent JavaScript libraries for managing dates in JavaScript but they are generally built to be used in the object-oriented programming paradigm. This makes them cumbersome to include in a functional context.

All functions in date-fp are pure, autocurried and will not mutate the date objects they are applied to.

If you are not familiar with functional programming in JavaScript read Professor Frisby's Mostly Adequate Guide to Functional Programming

Also check out Ramda (A great library for functional programming with JavaScript)

Documentation

Read the full documentation

Contributing

Yes please!

Something to note is that we automatically release to NPM on every successful commit and we also strictly follow SemVer so please update the version number in package.json appropriately when submitting a Pull Request.

FAQs

Last updated on 20 Mar 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc