# subschema-image

> Subschema Image Type

Latest version **0.4.0** (published 2016-03-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install subschema-image
pnpm add subschema-image
yarn add subschema-image
bun add subschema-image
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2016-03-07 |
| First published | 2016-01-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Justin Spears |
| Maintainers | speajus |

## Links

- npm: https://www.npmjs.com/package/subschema-image
- Repository: https://github.com/subschema/subschema-image
- Homepage: https://github.com/subschema/subschema-image#readme
- Issues: https://github.com/subschema/subschema-image/issues
- npm.io page: https://npm.io/package/subschema-image

## Recent versions

- 0.4.0 (latest) — 2016-03-07
- 0.3.2 — 2016-01-05
- 0.3.1 — 2016-01-05
- 0.3.0 — 2016-01-05
- 0.2.1 — 2016-01-05
- 0.2.0 — 2016-01-04
- 0.1.1 — 2016-01-04

## README

Subschema Image
===
Allows for uploading of an image with a preview.

##Demo
See it in action [here](http://subschema.github.io/subschema-image)

Or run it 

```sh
  git clone https://github.com/subschema/subschema-image.git
  cd subschema-image
  npm install
  npm run hot &
  open http://localhost:8082
```

##Installation
```sh
 $ npm install subschema-image
``

##Usage
```jsx

 import React, {Component} from 'react';
 import Subschema, {loader, Form} from 'Subschema';
 import imageloader from 'subschema-image';
 
 loader.addLoader(imageloader);
 
 //A simple Schema for this demo.
 var schema = {
     schema: {
         image: {
             "type": "Image",
             "help": "Single Image"
         },
         images: {
             "type": "ImageList",
             "help": "Multiple Images"
         }
     }
 }
 
 export default class App extends Component {
 
     render() {
         return <div>
             <h3>Subschema Image Type</h3>
             <Form schema={schema}/>
         </div>
     }
 }


  
```

---
_Source: https://npm.io/package/subschema-image · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
