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

feelin

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feelin

A FEEL parser and interpreter

  • 0.11.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17K
increased by2.36%
Maintainers
1
Weekly downloads
 
Created
Source

Feelin

Build Status

A FEEL parser and interpreter written in JavaScript.

Usage

import {
  unaryTest,
  evaluate
} from 'feelin';

unaryTest(1, '1'); // true
unaryTest(1, '[1..end]', { end: 10 }); // true

evaluate("Mike's dauther.name", {
  "Mike's dauther.name": "Lisa"
}); // "Lisa"

evaluate('for a in [1, 2, 3] return a * 2'); // [ 2, 4, 6 ]

evaluate('every rate in rates() satisfies rate < 10', {
  rates() {
    return [ 10, 20 ];
  }
}); // false

Features

  • Support basic FEEL operations
  • Support names with spaces
  • Recover on errors
  • Provides built-in functions
  • Passes FEEL tests in the DMN TCK

Other open source FEEL interpreters:

Standards related resources:

License

MIT

FAQs

Package last updated on 05 Jan 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