1.3.12 • Published 4 months ago

exframe-model v1.3.12

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
4 months ago

exframe-model module

====================================

exframe-model will be a lightweight library for more simply producing json-schema files. Used in conjunction with exframe-api, a lot of the boiler plate for developing the API should be eliminated.

Use

const schema = require('exframe-model');

Full Example

const schema = require('exframe-model');

let testSchema = schema.create({
  title: 'Test Schema',
  type: {
    message: String,
    status: Number,
    result: { testValue: String }
  }
});

Methods

create()

Syntax

const { create } = require('exframe-model');

create(schema);

Parameter Values

  • schema - the object whose schema needs to be created.

Tests

npm run test
1.3.11

5 months ago

1.3.12

4 months ago

1.3.10

2 years ago

1.3.9

2 years ago

1.3.8

2 years ago

1.3.7

2 years ago

1.3.6

2 years ago

1.3.5

2 years ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.0.0

4 years ago