npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

multilingual-datefinder

v1.3.2

Published

A multilingual date extraction tool for text in English, German, Russian, and Ukrainian

Readme

Datefinder

Description

It finds dates in your text with Node.js and returns extracted strings, start and end indices, and the date object. It works for English, German, Russian, Ukrainian, Italian, Portuguese, Spanish, Indonesian, Hindi, French, and Arabic languages in the date range from 1900 to 2099.

Parameters

Method can be called by datefinder(text), where text is your text.

Installation

npm install multilingual-datefinder --save

Usage

CommonJS (Node.js)

const dateFinder = require('multilingual-datefinder');

let text = `Це трапилося 2 січня 2001 року.
Das Meeting findet am 15. März 2023 statt.
La réunion aura lieu le 15 avril 2024.
La reunión es el 15 de abril de 2024.
A reunião será em 15 de abril de 2024.
La riunione è il 15 aprile 2024.
Rapat pada tanggal 15 April 2024.
बैठक 15 अप्रैल 2024 को है।
الاجتماع في 15 أبريل 2024.`;

console.log(dateFinder(text));

ES Modules (Modern JavaScript)

import dateFinder from 'multilingual-datefinder';

let text = `Це трапилося 2 січня 2001 року.
Das Meeting findet am 15. März 2023 statt.
La réunion aura lieu le 15 avril 2024.
La reunión es el 15 de abril de 2024.
A reunião será em 15 de abril de 2024.
La riunione è il 15 aprile 2024.
Rapat pada tanggal 15 April 2024.
बैठक 15 अप्रैल 2024 को है।
الاجتماع في 15 أبريل 2024.`;

console.log(dateFinder(text));

Expected outcome:

Features

  • Multi-language support:
    • European: English, German, Russian, Ukrainian, Italian, French, Spanish, Portuguese
    • Middle Eastern: Arabic
    • South Asian: Hindi
    • Southeast Asian: Indonesian
  • Various date formats detection
  • Relative dates support (yesterday, tomorrow, etc.) in all supported languages
  • Verbal number detection in multiple scripts and languages
  • Time intervals recognition
  • Support for different calendar systems and date formats
  • Right-to-left (RTL) text support for Arabic

Changes from Original

This package is based on the original datefinder by Kyrylo Zakharov, with the following enhancements:

  • Added support for multiple new languages:
    • German language support
    • Romance languages (Italian, French, Spanish, Portuguese)
    • Arabic language with RTL support
    • Hindi language support
    • Indonesian language support
  • Improved patterns for better date detection
  • Enhanced support for relative dates and time expressions
  • Added support for various cultural date formats
  • Updated documentation with multilingual examples
  • Expanded test coverage for all supported languages

License

MIT