Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ariya/tebakmasa

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariya/tebakmasa

Infer the date and time from the general description in Bahasa Indonesia

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Tebak Masa

npm version npm bundle size (minified) GitHub license Tests

Bahasa Indonesia | English


Bahasa Indonesia

Tebak Masa: pustaka JavaScript untuk Node.js (@ariya/tebakmasa) guna mengira tanggal dan waktu dari deskripsi umumnya dalam bahasa Indonesia.

Contoh:

const tebakmasa = require('@ariya/tebakmasa');

tebakmasa('3 menit yang lalu');
tebakmasa('13:37 WIB');
tebakmasa('17 Agustus 2020 10:00');   // 1600311600028
tebakmasa('17/8/2020 10:00')

Nilai yang dikembalikan pemanggilan fungsi tebakmasa adalah Unix epoch, jumlah milidetik semenjak tengah malam tanggal 1 Januari 1970 UTC. Untuk rincinya, silakan merujuk ke dokumentasi JavaScript tentang Date.


English

Tebak Masa: a JavaScript library for Node.js (@ariya/tebakmasa) to infer the date and time from the general description in Indonesian (Bahasa Indonesia).

Examples:

const tebakmasa = require('@ariya/tebakmasa');

tebakmasa('3 menit yang lalu');
tebakmasa('13:37 WIB');
tebakmasa('17 Agustus 2020 10:00');   // 1600311600028
tebakmasa('17/8/2020 10:00')

The return value is Unix epoch, the number of milliseconds that have elapsed since midnight on January 1, 1970, UTC. For more details, refer to the documentation of JavaScript Date object.

Keywords

FAQs

Package last updated on 20 May 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc