A Gulp plugin for parsing ArchieML files.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
test
.eslintrc.json
.gitattributes
.gitignore
.npmignore
CHANGELOG.md
LICENSE
README.md
index.js
package-lock.json
package.json

README.md

gulp-archieml

CircleCI npm GitHub license

A Gulp plugin for parsing Archie Markup Language (ArchieML) files into JSON using archieml-js.

From ArchieML.org:

ArchieML (or "AML") was created at The New York Times to make it easier to write and edit structured text on deadline that could be rendered in web pages, or more specifically, rendered in interactive graphics.

See the ArchieML spec and ArchieML.org for more information if you're interested in learning more about the language.

Install

$ npm install --save-dev gulp-archieml

Usage

const gulp = require('gulp');
const archieml = require('gulp-archieml');

gulp.task('test', () => gulp.src('./path/to/*.aml')
  .pipe(archieml())
  .pipe(gulp.dest('./path/to/json/output/')));

Tests

Tests (written in Mocha) can be run using:

$ npm test

Coverage is calculated using Istanbul and output to the coverage folder:

$ open coverage/index.html

License

MIT ©2016 The Dallas Morning News