Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johanbrook/screener
Parse CSV data to JSON and output to HTML template.
https://github.com/johanbrook/screener
Last synced: about 2 months ago
JSON representation
Parse CSV data to JSON and output to HTML template.
- Host: GitHub
- URL: https://github.com/johanbrook/screener
- Owner: johanbrook
- Created: 2014-10-23T00:47:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-01T00:45:52.000Z (about 10 years ago)
- Last Synced: 2024-04-15T12:13:31.769Z (9 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Screener
A tool for reading in CSV data and applying it as JSON to a Handlebars template. Makes it easier to screen.
# Usage
From the command line:
```bash
cd screener
./bin/screen input [template]
````input` is a path to a CSV file. `template` defaults to `template.html`. Outputs a HTML file in the same directory.
From a script:
```javascript
var screener = require('../index')screener('somefile.csv', './template.html')
```From the `gulpfile.js`:
```bash
gulp template
```# License
MIT.