# Install extract-pg-schema with npm

Reads various metadata from your postgres database and return a Javascript object. This package is used by Kanel to generate Typescript types and Schemalint to prov. Version 5.8.1 via npm; verified 2026-01-21.

## Install

```sh
sudo av install npm:extract-pg-schema
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g extract-pg-schema
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:extract-pg-schema
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/extract-pg-schema>
- **Version:** 5.8.1
- **Source summary:** Reads various metadata from your postgres database and return a Javascript object. This package is used by Kanel to generate Typescript types and Schemalint to prov
- **Homepage:** <https://github.com/kristiandupont/extract-pg-schema#readme>
- **Repository:** <https://github.com/kristiandupont/extract-pg-schema>
- **Upstream docs:** <https://github.com/kristiandupont/extract-pg-schema#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/extract-pg-schema/-/extract-pg-schema-5.8.1.tgz>
- **Issue tracker:** <https://github.com/kristiandupont/extract-pg-schema/issues>
- **Published:** 2026-01-21T08:20:37.185Z
- **Last updated:** 2026-01-21T08:20:37.185Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- extract-pg-schema (cli)
- extract-pg-schema (alias)

## Dependencies

- knex
- knex-pglite
- pg
- pg-query-emscripten
- ramda

## Build dependencies

- @eslint/compat
- @kristiandupont/dev-deps
- @microsoft/api-documenter
- @microsoft/api-extractor
- @types/jsonpath
- @types/pg
- @types/ramda
- np
- testcontainers
- vitepress
- vue

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.8.1
- Package-manager updated: 2026-01-21
- Local data: ok
- Upstream repository: https://github.com/kristiandupont/extract-pg-schema
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 5.8.1
- **Version Count:** 75
- **Maintainers:** kristiandupont
- **Author:** Kristian Dupont
- **Publisher:** kristiandupont
- **Engines:** Node: >=16.0.0
- **Integrity:** sha512-rNotRBXxWQnvjcErsX3k9cZwY4KQbVniEp+KAd6RghfDvt29kOtnDdfO7S+Y6b/5tge6caovbJq8s9cgsUtBUA==
- **Shasum:** e6907618b200fce021a24e18f83f36e016120e84
- **Unpacked Size:** 857,459
- **File Count:** 0
- **Created At:** 2019-06-28T20:27:08.333Z
- **Latest Published At:** 2026-01-21T08:20:37.185Z
- **Modified At:** 2026-01-21T08:20:37.298Z


## Related links

- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched curated package taxonomy and local package facts.
- [eslint-plugin-github](https://www.automicvault.com/pkg/npm/eslint-plugin-github/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.
- [colorguard](https://www.automicvault.com/pkg/npm/colorguard/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.
- [eslint-doc-generator](https://www.automicvault.com/pkg/npm/eslint-doc-generator/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
