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

tcl

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tcl

Node.js Tcl binding

  • 1.1.1
  • Source
  • npm
  • Socket score

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

node-tcl

npm version Build Status Coverage Status Dependency Status devDependency Status

Node.js Tcl bindings to execute Tcl commands using a native Tcl Interpreter.

Installation

Prerequisites : You will need to have tcl-dev packages installed on your system (e.g. sudo apt-get install tcl-dev) for the Node.js native addon to link to.

$ npm install --save tcl

Usage

You can execute any Tcl command that is supported by the Tcl shell (tchsh) and you can even load native Tcl modeles (load module.so), source scripts (source filename.tcl) and source Tcl libraries (package require name).

Note : Only synchronous commands preserve states from one call to another. Asynchronous commands are executed in a separate thread using a new Tcl Interpreter instance for each call.

var tcl = require( 'tcl' );

console.log( tcl.version() );
console.log( tcl.cmdSync( 'info tclversion' ) );

tcl.cmd( 'info tclversion', function ( err, result ) {
	console.log( result.data() );
} );

tcl.cmd( 'info commands', function ( err, result ) {
	console.log( result.toArray() );
} );

API Documentation

JSDoc generated API documentation can be found at http://nukedzn.github.io/node-tcl/docs/.

Contributing

Contributions are welcome through GitHub pull requests (using fork & pull model).

Keywords

FAQs

Package last updated on 01 May 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