JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 571
  • Score
    100M100P100Q91890F

Track the textual position of json elements within a text, and validate a json against a JSON schema, with colomn and row error reporting

Package Exports

  • source-processor

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (source-processor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

json-validation

Track the textual position of json/yaml elements within a text, and validate a json against a JSON schema, with column and row error reporting

Getting Started

On the server

Install the module with: npm install source-processor

var json-validation = require('source-processor');
source-processor.awesome(); // "awesome"

In the browser

Download the production version or the development version.

In your web page:

<script src="dist/json-validation.min.js"></script>
<script>
awesome(); // "awesome"
</script>

In your code, you can attach json-validation's methods to any object.

<script>
var exports = Yeoman.utils;
</script>
<script src="dist/json-validation.min.js"></script>
<script>
Yeoman.utils.awesome(); // "awesome"
</script>

Documentation

(Coming soon)

Examples

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via Grunt. You'll find source code in the "lib" subdirectory!

Release History

(Nothing yet)

License

Copyright (c) 2014 Firebase. Licensed under the MIT license.