mirror of
https://github.com/actions/setup-dotnet.git
synced 2025-12-13 05:27:08 +00:00
GPR authentication support
This commit is contained in:
committed by
Alex Mullans
parent
6c0e2a2a6b
commit
6bd4969ec6
49
node_modules/nimn_schema_builder/README.md
generated
vendored
Normal file
49
node_modules/nimn_schema_builder/README.md
generated
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
# nimnjs-schema-builder
|
||||
Build schema from JS object or JSON to feed into [nimnjs](https://github.com/nimndata/nimnjs-node).
|
||||
|
||||
|
||||
## Usages
|
||||
|
||||
First install or add to your npm package
|
||||
```
|
||||
$npm install nimn_schema_builder
|
||||
```
|
||||
|
||||
```js
|
||||
var builder = require("nimn_schema_builder");
|
||||
|
||||
var data = {
|
||||
name : "amit",
|
||||
age : 32,
|
||||
human : true,
|
||||
projects : [
|
||||
{
|
||||
name: "some",
|
||||
from: new Date(),
|
||||
//to: null,
|
||||
decription : "some long description"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
var schema = builder.build(data);
|
||||
|
||||
/*
|
||||
var schema = {
|
||||
name : "string",
|
||||
age : "number",
|
||||
human : "boolean",
|
||||
projects : [
|
||||
{
|
||||
name: "string",
|
||||
from: "date",
|
||||
decription : "string"
|
||||
}
|
||||
]
|
||||
};
|
||||
*/
|
||||
```
|
||||
|
||||
You can also use it in browser from [dist](dist/nimn-schema-builder.js) folder.
|
||||
|
||||
Check the [demo](https://nimndata.github.io/nimnjs-schema-builder/) for instant use.
|
||||
Reference in New Issue
Block a user