node package manager

gulp-archieml

gulp-archieml

Circle CI

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

var gulp = require('gulp'),
    archieml = require('gulp-archieml');
 
gulp.task('test', function() {
    return 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

License

MIT ©2016 The Dallas Morning News