New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-json-schema-form

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-json-schema-form

Angular Publishable Directive Boilerplate

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
149
increased by12.03%
Maintainers
1
Weekly downloads
 
Created
Source

Angular JSON Schema Form

Build Status

Angular directive for making forms out of JSON Schema

This directive is using JSON Editor internally to generate forms.

Live demo

How to use

  • Install via bower

      bower install --save-dev schema-form
    
  • Include mohsen1.schema-form in you app

      angular.module('myApp', ['mohsen1.schema-form'])
    
  • Pass your JSON Schema to json-schema-form attribute directive on <form> element

      <form schema-form="{type: 'string'}" action="/" method="post">
        <button type="submit">Send</button>
      </form>
    

    You can also use ng-model with this directive.

    Note that schema-form will prepend generated form elements.

Development

Install Gulp via npm if you don't have it

npm install -g gulp

Available commands

  • gulp: build and test the project
  • gulp build: build the project and make new files indist
  • gulp serve: start a server to serve the demo page and launch a browser then watches for changes in src files to reload the page
  • gulp test: run tests
  • gulp serve-test: runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the tests

License

MIT

Keywords

FAQs

Package last updated on 13 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc