<commit_before># plexus-form

**=== ATTENTION: THIS PROJECT IS NO LONGER BEING MAINTAINED ===**

A dynamic form component for [React](http://facebook.github.io/react/) using a
specification format based on [JSON-Schema](http://json-schema.org/).

**[Demo](http://appliedmathematicsanu.github.io/plexus-form/)**

The full code for the demo can be found at
https://github.com/AppliedMathematicsANU/plexus-form/blob/master/demos/demo.jsx.

Plexus-form takes a JavaScript object describing the shape of the data we want
a user to provide - a *schema* - and automatically creates a form based on
that schema. It also validates user inputs by calling a pluggable validator
which uses the same schema.


## Minimal example:

    var React    = require('react');
    var validate = require('plexus-validate');<commit_msg>link to react-json-editor in README<commit_after># ATTENTION!

**THIS PROJECT IS NO LONGER ACTIVE.**

A maintained fork can be found at [react-json-editor](https://github.com/ismaelga/react-json-editor) (h/t [@ismaelga](https://github.com/ismaelga)).

# plexus-form

A dynamic form component for [React](http://facebook.github.io/react/) using a
specification format based on [JSON-Schema](http://json-schema.org/).

**[Demo](http://appliedmathematicsanu.github.io/plexus-form/)**

The full code for the demo can be found at
https://github.com/AppliedMathematicsANU/plexus-form/blob/master/demos/demo.jsx.

Plexus-form takes a JavaScript object describing the shape of the data we want
a user to provide - a *schema* - and automatically creates a form based on
that schema. It also validates user inputs by calling a pluggable validator
which uses the same schema.


## Minimal example:

    var React    = require('react');
    var validate = require('plexus-validate');
{'fraction_non_alphanumeric': 0.11659192825112108, 'fraction_numerical': 0.0, 'mean_word_length': 4.36036036036036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7259527', 'n_tokens_mistral': 553, 'n_tokens_neox': 531, 'n_words': 184}