# Install relational-schema with npm

Generate a js schema for a relational database. Version 0.6.3 via npm; verified 2026-03-24.

## Install

```sh
sudo av install npm:relational-schema
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g relational-schema
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:relational-schema
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/relational-schema>
- **Version:** 0.6.3
- **Source summary:** Generate a js schema for a relational database
- **Homepage:** <https://github.com/MattGson/relational-schema#readme>
- **Repository:** <https://github.com/MattGson/relational-schema>
- **Upstream docs:** <https://github.com/MattGson/relational-schema#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/relational-schema/-/relational-schema-0.6.3.tgz>
- **Issue tracker:** <https://github.com/MattGson/relational-schema/issues>
- **Published:** 2026-03-24T23:29:17.398Z
- **Last updated:** 2026-03-24T23:29:17.398Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- relations (cli)
- relations (alias)

## Dependencies

- chalk
- fs-extra
- knex
- lodash
- pg
- pluralize
- prettier
- promise-mysql
- yargs

## Build dependencies

- @semantic-release/changelog
- @semantic-release/git
- @types/faker
- @types/fs-extra
- @types/jest
- @types/lodash
- @types/pg
- @types/pluralize
- @types/url-parse
- @types/yargs
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- cz-conventional-changelog
- dependency-check
- eslint
- eslint-config-prettier
- faker
- jest
- jest-extended
- semantic-release
- ts-jest
- ts-node
- tsconfig-paths
- typescript

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.6.3
- Package-manager updated: 2026-03-24
- Local data: ok
- Upstream repository: https://github.com/MattGson/relational-schema
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for relational-schema. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.6.3
- **Version Count:** 23
- **Maintainers:** mattgson
- **Author:** Matt Goodson
- **Publisher:** mattgson
- **Integrity:** sha512-60SCX7BKwGnTpvLrSZ6BKlGtaOvK1WKfdCu0kgWRQ8D+h+lze7fA8YB0mmrJ0TXDh1S5sexEMcrJCwZEhyZbPQ==
- **Shasum:** cb5d2b94ea1fd451c8eb3ece929e2e566ec27f2b
- **Unpacked Size:** 153,371
- **File Count:** 0
- **Created At:** 2021-04-21T09:02:21.793Z
- **Latest Published At:** 2026-03-24T23:29:17.398Z
- **Modified At:** 2026-03-24T23:29:17.514Z


## Related links

- [Database and data packages](https://pkg.so/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [extract-pg-schema](https://pkg.so/npm/extract-pg-schema/) - Both packages touch the same language runtime or ecosystem. Shared terms: database, generate, javascript, knex, pg.
- [graphql-typed-client](https://pkg.so/npm/graphql-typed-client/) - Both packages touch the same language runtime or ecosystem. Shared terms: chalk, generate, javascript, js, lodash.
- [sequelize-auto](https://pkg.so/npm/sequelize-auto/) - Local metadata places this package in an adjacent workflow. Shared terms: database, generate, lodash, mysql, postgres.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
