![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
@fattureincloud/madbit-js-dates
Advanced tools
MadBit javascript library for manipulating and displaying dates
MadBit JS Dates is a library used to manipulate and display dates. At the moment it uses date-fns under the hood.
Support english, italian and spanish languages.
# Npm
npm install madbit-js-dates
# Yarn
yarn add madbit-js-dates
import format from 'madbit-js-dates/format'
format('2023-07-07', 'dd/MM/yyyy', 'it')
Parsable shortcuts | Corresponding value |
---|---|
'now' | current date and time |
'NOW' | current date and time |
'yesterday' | yesterday date at this time |
'YESTERDAY' | yesterday date at this time |
'tomorrow' | tomorrow date at this time |
'TOMORROW' | tomorrow date at this time |
Format shortcuts | Corresponding format |
---|---|
'SQL' | SQL date format (YYYY-MM-DD) |
'SQL+T' | SQL datetime format (YYYY-MM-DD HH:mm:ss) |
'IT' | Italian date format (DD/MM/YYYY) |
'IT+T' | Italian datetime format (DD/MM/YYYY HH:mm:ss) |
'IT_FULL' | Italian date with month name (Ex. 22 May 2000) |
'IT_FULL+T' | Italian date and time with month name (Ex. 22 May 2000 13:34:55) |
FAQs
MadBit javascript library for manipulating and displaying dates
We found that @fattureincloud/madbit-js-dates demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.