https://github.com/aleksandryackovlev/json-schema-faker-types
TypeScript definitions for json-schema-faker
https://github.com/aleksandryackovlev/json-schema-faker-types
definition dts json-schema-faker types typescript typescript-definitions typings
Last synced: 3 months ago
JSON representation
TypeScript definitions for json-schema-faker
- Host: GitHub
- URL: https://github.com/aleksandryackovlev/json-schema-faker-types
- Owner: aleksandryackovlev
- License: mit
- Created: 2020-01-27T20:30:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T05:53:29.000Z (over 2 years ago)
- Last Synced: 2024-04-23T20:53:58.468Z (about 1 year ago)
- Topics: definition, dts, json-schema-faker, types, typescript, typescript-definitions, typings
- Language: TypeScript
- Homepage:
- Size: 244 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![npm][npm]][npm-url]
[![deps][deps]][deps-url]
[](https://travis-ci.org/aleksandryackovlev/json-schema-faker-types)
[](https://packagephobia.now.sh/result?p=json-schema-faker-types)# json-schema-faker-types
This package contains type definitions for [json-schema-faker](https://github.com/json-schema-faker/json-schema-faker).
## Installation
```console
$ npm install json-schema-faker-types --save
```## Usage
Add `typings` folder into `typeRoots` in your `tsconfig.json`
**tsconfig.json**
```js
{
"compilerOptions": {
...
"typeRoots" : ["./typings", "./node_modules/@types"],
...
}
}
```Create `typings` folder in the root of your project and put there a directory with the name `json-schema-faker`.
**typings/json-schema-faker/index.d.ts**
```js
import 'json-schema-faker-types';
```## Contributing
Please take a moment to read our contributing guidelines if you haven't yet done so.
[CONTRIBUTING](./.github/CONTRIBUTING.md)
## License
[MIT](./LICENSE)
[npm]: https://img.shields.io/npm/v/json-schema-faker-types.svg
[npm-url]: https://npmjs.com/package/json-schema-faker-types
[deps]: https://david-dm.org/aleksandryackovlev/json-schema-faker-types.svg
[deps-url]: https://david-dm.org/aleksandryackovlev/json-schema-faker-types