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

@elastic.io/jsonata-moment

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic.io/jsonata-moment

Moment support for JSONata

  • 1.1.3-dev4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
250
decreased by-9.09%
Maintainers
2
Weekly downloads
 
Created
Source

jsonata-moment

NPM statistics

Build Status

Moment.js support for JSONata.

How to install

npm install @elastic.io/jsonata-moment

Usage

$moment function provides the same functionality, as regular moment() does.

In node.js
const jsonataMoment = require('@elastic.io/jsonata-moment');
const result = jsonataMoment('$moment().format("YYYY-MM-DD")').evaluate();
In browser

There is a regular as well as minified versions of the library in a dist folder.

const result = window.jsonataMoment('$moment().format("YYYY-MM-DD")').evaluate();

FAQs

Package last updated on 02 Apr 2019

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