Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.42 KB

README.md

File metadata and controls

56 lines (40 loc) · 2.42 KB

jsbatch-strings

string constants for use with package jsbatchrun and its plugins.

npm version License: MIT jsdoc Built with Grunt codecov Build Status dependencies

This package simply provides a number of string constants, used over and over by jsbatchrun.
Feel free to incorporate them into your plugins.

content

getting started

This package is required by jsbatchrun or it may be incorporate into your own plugins.

install

This guide assumes, that you are familiar with the use of npm.

npm install jsbatch-strings --save

prerequisites

No prerequisites.

usage

const helpstring = require( "jsbatch-strings" ).HELP;
console.log( helpstring );
// Will output "help" or whatever 'helpstring' currently is used by jsbatchrun.

const mystringtable = Object.assign({ my: "stringtable" }, require( "jsbatch-strings" ));
console.log( mystringtable.HELP );
// Will output "help" or whatever 'helpstring' currently is used by jsbatchrun.