/ts-to-json

Primary LanguageTypeScriptMIT LicenseMIT

ts-to-json

TypeScript type definition to JS

Install

Install with npm:

npm ci
npm test
[
  { name: 'ExamplePageA', path: '/example-page-a' },
  {
    name: 'ExamplePageB',
    path: '/example-page-b',
    params: { id: 'string' }
  },
  {
    name: 'ExamplePageC',
    path: '/example-page-c',
    params: { id: 'string' }
  },
  { name: 'ExamplePageD', path: '/example-page-d', params: {} }
]

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © azu