@adobe/helix-shared
Shared modules of the Helix Project
Last updated 20 hours ago by adobe-admin .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @adobe/helix-shared 
SYNC missed versions from official npm registry.

Helix Shared

Shared libraries for Project Helix.

Status

NPM Version codecov CircleCI GitHub license GitHub issues LGTM Code Quality Grade: JavaScript Known Vulnerabilities

Helix Configuration Files

  • helix-fstab.yaml: maps paths to source URLs, use this to pull content from sources other than GitHub
  • helix-config.yaml: defines Strains (variants) of a Helix site, use this to create "environments", tests, or other variants
  • helix-query.yaml: define what can be indexed and queried in a Helix site
  • helix-markup.yaml: define what Markdown should generate which HTML, use this to tweak the HTML output

Usage

Using HelixConfig to read Helix configuration files

Helix is using YAML files for configuration management, but with the HelixConfig class, exported from @adobe/helix-shared, you can read, validate, and access configuration files with ease:

const { HelixConfig } = require('@adobe/helix-shared');

// in an async function
const configfromyaml = new HelixConfig()
  .withSource(yamlstring)
  .init();

const configfromjson = new HelixConfig()
  .withJSON(jsonobject)
  .init();

const configfromfile = new HelixConfig()
  .withDirectory('/path/to/dir') // the directory contains a `helix-config.yaml`
  .init();

Using sequence, functional, and op for functional programming

Development

Build

npm install

Test

npm test

Lint

npm run lint

Current Tags

  • 0.3.2-pre.2                                ...           exp (2 years ago)
  • 0.3.2-pre.9                                ...           experimental (2 years ago)
  • 7.16.3                                ...           latest (20 hours ago)
  • 0.6.3-pre.4                                ...           next (2 years ago)

139 Versions

  • 7.16.3                                ...           20 hours ago
  • 7.16.2                                ...           5 days ago
  • 7.16.1                                ...           a month ago
  • 7.16.0                                ...           2 months ago
  • 7.15.0                                ...           2 months ago
  • 7.14.0                                ...           2 months ago
  • 7.13.0                                ...           3 months ago
  • 7.12.0                                ...           3 months ago
  • 7.11.0                                ...           3 months ago
  • 7.10.1                                ...           3 months ago
  • 7.10.0                                ...           4 months ago
  • 7.9.0                                ...           5 months ago
  • 7.8.1                                ...           5 months ago
  • 7.8.0                                ...           5 months ago
  • 7.7.1                                ...           5 months ago
  • 7.7.0                                ...           5 months ago
  • 7.6.0                                ...           6 months ago
  • 7.5.0                                ...           6 months ago
  • 7.4.0                                ...           6 months ago
  • 7.3.2                                ...           7 months ago
  • 7.3.1                                ...           7 months ago
  • 7.3.0                                ...           7 months ago
  • 7.2.1                                ...           7 months ago
  • 7.2.0                                ...           7 months ago
  • 7.1.0                                ...           7 months ago
  • 7.0.1                                ...           8 months ago
  • 7.0.0                                ...           8 months ago
  • 6.0.5                                ...           8 months ago
  • 6.0.4                                ...           8 months ago
  • 6.0.3                                ...           9 months ago
  • 6.0.2                                ...           9 months ago
  • 6.0.1                                ...           9 months ago
  • 6.0.0                                ...           9 months ago
  • 5.3.1                                ...           9 months ago
  • 5.3.0                                ...           9 months ago
  • 5.2.2                                ...           9 months ago
  • 5.2.1                                ...           10 months ago
  • 5.2.0                                ...           10 months ago
  • 5.1.0                                ...           10 months ago
  • 5.0.2                                ...           10 months ago
  • 5.0.1                                ...           10 months ago
  • 5.0.0                                ...           a year ago
  • 4.0.1                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.1.2                                ...           a year ago
  • 3.1.0                                ...           a year ago
  • 3.0.4                                ...           a year ago
  • 3.0.3                                ...           a year ago
  • 3.0.2                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           a year ago
  • 2.1.1                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.5.1                                ...           a year ago
  • 1.5.0                                ...           a year ago
  • 1.4.0                                ...           a year ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.11.0                                ...           2 years ago
  • 0.10.5                                ...           2 years ago
  • 0.10.4                                ...           2 years ago
  • 0.10.3                                ...           2 years ago
  • 0.10.2                                ...           2 years ago
  • 0.10.1                                ...           2 years ago
  • 0.10.0                                ...           2 years ago
  • 0.9.0                                ...           2 years ago
  • 0.8.4                                ...           2 years ago
  • 0.8.3                                ...           2 years ago
  • 0.8.2                                ...           2 years ago
  • 0.8.1                                ...           2 years ago
  • 0.8.0                                ...           2 years ago
  • 0.7.0                                ...           2 years ago
  • 0.6.3-pre.4                                ...           2 years ago
  • 0.6.3-pre.3                                ...           2 years ago
  • 0.6.3-pre.2                                ...           2 years ago
  • 0.6.3-pre.1                                ...           2 years ago
  • 0.6.3-pre.0                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.2-pre.3                                ...           2 years ago
  • 0.6.2-pre.2                                ...           2 years ago
  • 0.6.2-pre.1                                ...           2 years ago
  • 0.6.2-pre.0                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.1-pre.1                                ...           2 years ago
  • 0.6.1-pre.0                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.1-pre.1                                ...           2 years ago
  • 0.5.1-pre.0                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.2-pre.2                                ...           2 years ago
  • 0.4.2-pre.1                                ...           2 years ago
  • 0.4.2-pre.0                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.1-pre.0                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.4.0-pre.2                                ...           2 years ago
  • 0.4.0-pre.1                                ...           2 years ago
  • 0.3.2-pre.9                                ...           2 years ago
  • 0.3.2-pre.7                                ...           2 years ago
  • 0.3.2-pre.6                                ...           2 years ago
  • 0.3.1-pre.1                                ...           2 years ago
  • 0.3.2-pre.5                                ...           2 years ago
  • 0.3.2-pre.4                                ...           2 years ago
  • 0.3.2-pre.3                                ...           2 years ago
  • 0.3.2-pre.2                                ...           2 years ago
  • 0.3.2-pre.1                                ...           2 years ago
  • 0.3.2-pre.0                                ...           2 years ago
  • 0.3.1-pre.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.0.6-pre.4                                ...           2 years ago
  • 0.0.6-pre.3                                ...           2 years ago
  • 0.0.6-pre.2                                ...           2 years ago
  • 0.0.6-pre.1                                ...           2 years ago
  • 0.0.6-pre.0                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.5-pre.1                                ...           2 years ago
  • 0.0.5-pre.0                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.4-pre.1                                ...           2 years ago
  • 0.0.4-pre.0                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.3-pre.0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.2-pre.0                                ...           2 years ago
  • 0.0.1                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |