cypher-loader

0.3.0 • Public • Published

cypher-loader

A simple webpack loader for Cypher query files.

Installation

npm install --save-dev cypher-loader

Usage

Configuration

module.exports = {
  module: {
    loaders: [
      {
        test: /\.cypher$/,
        loader: 'cypher'
      }
    ]
  }
};

Require

var queries = require('cypher!./queries.cypher');

Query files

For more information about the query files themselves, you should check the decypher library's documentation on the subject.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.0
    11
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.3.0
    11
  • 0.2.0
    0
  • 0.1.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i cypher-loader

Weekly Downloads

11

Version

0.3.0

License

MIT

Last publish

Collaborators

  • yomguithereal