1.3.10 • Published 7 months ago

exframe-model v1.3.10

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
7 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.10

7 months ago

1.3.9

8 months ago

1.3.8

9 months ago

1.3.7

10 months ago

1.3.6

11 months ago

1.3.5

11 months ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.0.0

3 years ago