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

noflo-api-updater

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

noflo-api-updater

A tool to update NoFlo components to latest API

  • 0.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NoFlo API Updater

This command-line tool automates some tasks on updating legacy NoFlo libraries with the latest APIs.

Features

Currently this tool supports:

  • Semi-automatic update of the old CoffeeScript components to the new Ports API introduced in NoFlo 0.5.

Installation

If you don't have CoffeeScript installed, then first install the latest CoffeeScript:

# npm install -g coffee-script

Then install the updater tool

# npm install -g noflo-api-updater

Usage

Note: the tool assumes that components are written in CoffeeScript indented correctly with 2 spaces. Tab or 4-space indentation, or JavaScript components are not supported at this time.

Updating a single *.coffee file:

$ noflo-api-updater components/MyComponent.coffee

Updating all components in the folder:

$ noflo-api-updater components

There is a --pretend option that prints the result on screen rather than overwriting original files:

$ noflo-api-updater --pretend components/MyComponent.coffee

Disclaimer

This tool comes with absolutely NO WARRANTY and it is not designed to result into 100% bugproof working code. Use it to aid your manual code refactoring and don't forget to backup / git commit before running this tool.

FAQs

Package last updated on 19 Jun 2014

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