New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

task-scripted

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

task-scripted

Scripted' application to run JS files once.

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-91.67%
Maintainers
1
Weekly downloads
 
Created
Source

Scripted

Scripted' application to run JS files once.

Inspired Rails migrations, Scripted was created to run JS scripts only once, based on scripts already saved in the collection scripts in MongoDB.

Example: 1433298714535-for.js

$ scripted -c for
$ scripts/1433298714535-for.js created

Installation

$ npm install -g task-scripted

Configuration

You must configure MongoDB, it can be done using mongoose.json or environment variable MONGO_SCRIPTED.

mongoose.json
$ scripted -m
{
  "url" : "mongodb://localhost:27017/scripted"
}
Environment variable

In your .bash_profile or similar

export MONGO_SCRIPTED=mongodb://localhost:27017/scripted

Command Line Options

Usage: scripted [options]

Options:

-h, --help      output usage information
-V, --version   output the version number
-c, --create    Create script
-e, --execute   Execute scripts
-m, --mongoose  Create mongoose.json (optional)
-s, --scripted  Create scripted-template.js (optional)

Technologies

License

MIT

Keywords

FAQs

Package last updated on 06 Jun 2015

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