# Install mongoose-tsgen with npm

A Typescript interface generator for Mongoose that works out of the box. Version 9.5.6 via npm; verified 2026-01-25.

## Install

```sh
sudo av install npm:mongoose-tsgen
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mongoose-tsgen
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mongoose-tsgen
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/mongoose-tsgen>
- **Version:** 9.5.6
- **Source summary:** A Typescript interface generator for Mongoose that works out of the box.
- **Homepage:** <https://github.com/francescov1/mongoose-tsgen>
- **Repository:** <https://github.com/francescov1/mongoose-tsgen>
- **Upstream docs:** <https://github.com/francescov1/mongoose-tsgen>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/mongoose-tsgen/-/mongoose-tsgen-9.5.6.tgz>
- **Issue tracker:** <https://github.com/francescov1/mongoose-tsgen/issues>
- **Published:** 2026-01-25T01:50:30.619Z
- **Last updated:** 2026-01-25T01:50:30.619Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mtgen (cli)
- mtgen (alias)

## Dependencies

- @oclif/core
- glob
- lodash
- mkdirp
- pluralize
- prettier
- resolve
- strip-json-comments
- ts-morph
- ts-node
- tsconfig-paths
- tslib

## Build dependencies

- @tsconfig/node20
- @types/eslint
- @types/flat
- @types/glob
- @types/jest
- @types/lodash
- @types/mkdirp
- @types/node
- @types/pluralize
- @types/resolve
- eslint
- eslint-config-oclif
- eslint-config-oclif-typescript
- eslint-config-prettier
- globby
- husky
- jest
- lint-staged
- mongoose
- oclif
- rimraf
- ts-jest
- typescript

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 9.5.6
- Package-manager updated: 2026-01-25
- Local data: ok
- Upstream repository: https://github.com/francescov1/mongoose-tsgen
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for mongoose-tsgen. 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: 9.5.6, Next: 8.4.4
- **Version Count:** 154
- **Maintainers:** francescov1
- **Author:** Francesco Virga @francescov1
- **Publisher:** francescov1
- **Engines:** Node: >=9.0.0
- **Peer Dependencies:** mongoose, typescript
- **Integrity:** sha512-pC5K8p5XJnURvYkePaUt56+w1wkGwyH6MMVEQouMs4ng0LYkPVG3hat3SGAZZmsmRaNWvgqDavuz867WXOrfnw==
- **Shasum:** b3bd69cce48f1ca4ca621b9716685b8194e331d7
- **Unpacked Size:** 140,496
- **File Count:** 0
- **Created At:** 2020-09-24T20:29:12.858Z
- **Latest Published At:** 2026-01-25T01:50:30.619Z
- **Modified At:** 2026-01-25T01:50:30.739Z


## Related links

- [Database and data packages](https://www.automicvault.com/pkg/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [graphql-typed-client](https://www.automicvault.com/pkg/npm/graphql-typed-client/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, interfaces, lodash, mkdirp.
- [drizzle-zero](https://www.automicvault.com/pkg/npm/drizzle-zero/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, morph, pluralize.
- [json-schema-to-typescript](https://www.automicvault.com/pkg/npm/json-schema-to-typescript/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, glob, interface, json.

## Sources

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