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

domo-eval

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

domo-eval

Eval plugin for Domo-bot

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Eval plugin for Domo

Asks Domo politely to evaluate your JavaScript/CoffeeScript

Installation

npm install domo-eval

Add domo-eval to Domo's configuration or load it with the !load command

Usage

!eval [flags] <Javascript/CoffeeScript>

Flags

  • -c
    • Evaluate CoffeeScript
    • With -v flag outputs only the compiled JavaScript

Examples

!eval var a = 1; a + 2;

00:47 Domo: 3

!eval -c a = (word for word in ['hello', 'world']).join ' '

00:50 Domo: 'hello world'

!eval -c -v a = (word for word in ['hello', 'world']).join ' '

00:50 Domo: var a, word;
00:50 Domo: a = ((function() {
00:50 Domo:  var _i, _len, _ref, _results;
00:50 Domo:  _ref = ['hello', 'world'];
00:50 Domo:  _results = [];
00:50 Domo:  for (_i = 0, _len = _ref.length; _i < _len; _i++) {
00:50 Domo:    word = _ref[_i];
00:50 Domo:    _results.push(word);
00:51 Domo:  }
00:51 Domo:  return _results;
00:51 Domo: })()).join(' ');

Keywords

FAQs

Package last updated on 22 Sep 2013

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