# plutonio

> A typescript library that scans your typescript project and generate a schema of all types and interfaces of the project.

Latest version **0.7.8** (published 2026-03-05) · UNLICENSED license · 0 weekly downloads

## Install

```sh
npm install plutonio
pnpm add plutonio
yarn add plutonio
bun add plutonio
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.7.8 |
| Published | 2026-03-05 |
| First published | 2023-11-08 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 514.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | x71c9 |
| Maintainers | x71c9 |

## Links

- npm: https://www.npmjs.com/package/plutonio
- Repository: https://github.com/x71c9/plutonio
- Homepage: https://github.com/x71c9/plutonio#readme
- Issues: https://github.com/x71c9/plutonio/issues
- npm.io page: https://npm.io/package/plutonio

## Dependencies (2)

- [i0n](https://npm.io/package/i0n.md) ^0.9.0
- [typescript](https://npm.io/package/typescript.md) ^5.9.3

## Recent versions

- 0.7.8 (latest) — 2026-03-05
- 0.7.7 — 2026-01-29
- 0.7.2 — 2025-10-01
- 0.7.1 — 2025-02-10
- 0.7.0 — 2025-02-10
- 0.6.5 — 2024-12-23
- 0.6.4 — 2024-09-15
- 0.6.3 — 2024-09-15
- 0.6.2 — 2024-01-24
- 0.6.1 — 2024-01-23
- 0.6.0 — 2024-01-22
- 0.5.2 — 2024-01-18
- 0.5.1 — 2023-12-30
- 0.5.0 — 2023-12-30
- 0.4.1 — 2023-12-24
- … 7 more at https://npm.io/package/plutonio/versions

## README

# Plutonio

Plutonio is a Typescript library that scans your typescript project and generate
a schema of all types and interfaces of the project.

The schema is the following:

```typescript
type Schema = {
    name: string;
    category: Category;
    type: Primitive;
    original?: string;
    enum?: string[];
    imports: Import[];
    properties?: {
        [k:string]: Schema
    }
};

type Category = 'type' | 'interface';

type Primitive =
  | 'any';
  | 'boolean'
  | 'null'
  | 'number'
  | 'object'
  | 'string'
  | 'undefined'

```

An example of a schema is the following:

```js
const schema = {
    name: 'Product',
    category: 'interface',
    type: 'object',
    original: 'export interface Product extends Foo.Boo {title: string, price: number}',
    properties: {
        title: {
            type: 'string',
        },
        price: {
            type: 'number',
        },
    },
    imports: [
        {
            text: 'import Foo from "foo"',
            module: 'foo',
            clause: 'Foo',
            specifiers: [],
        },
    ],
},
};
```

---
_Source: https://npm.io/package/plutonio · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
