Open beckyjackson opened 3 years ago
OK - I got the CLI vs. API working now. The name is now valve-js
to prevent collision with the python valve
.
@jamesaoverton I think we need to decide which functions we should export for use in the API. I have a pretty short list right now, but perhaps the API needs more? It's annoying that I can't just specify all of them...
module.exports = {
getRows: getRows,
idxToA1: idxToA1,
parse: parse,
validate: validate,
validateTable: validateTable,
valve: valve,
};
Sorry, this is officially on the back-burner. I'll remove the request for review for now.
Setup
First, download the repository and navigate to the new directory. Then, install VALVE and its dependencies:
This will install the dependencies in a new subdirectory
node_modules
. If you wish to install them globally:To install the command line program, run this command from within the repo (note that you may need to preceed this with
sudo
):To confirm installation, run:
To import into projects:
You can also run tests with
npm test