1.0.0 • Published 10 years ago

language-command v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

Language Command

NPM version Gittip

Look up the command for executing a program in any language. Uses the programming language names from language-map and will always generate a command that cleans up after itself (leaves no temporary files) when executed.

Installation

npm install language-command --save

Usage

var command = require('language-command');

command('JavaScript', 'test.js', '"test"');
//=> "node test.js \"test\""

Notes

  • Windows support is likely non-existant. If anyone can help make the repository work across OSes, it'd be greatly appreciated.
  • Should it be possible to set paths to executables?
  • The test directory uses underscores instead of spaces because some command line compilers had trouble with spaces.

License

MIT

1.0.0

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago