# @diograph/file-generator

> Generates diory from file

Latest version **0.4.0** (published 2025-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @diograph/file-generator
pnpm add @diograph/file-generator
yarn add @diograph/file-generator
bun add @diograph/file-generator
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

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

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

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2025-03-29 |
| First published | 2022-06-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 107.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Olli-Pekka Pohjola |
| Maintainers | opohjola, jvalanen |

## Links

- npm: https://www.npmjs.com/package/@diograph/file-generator
- npm.io page: https://npm.io/package/@diograph/file-generator

## Dependencies (5)

- [uuid](https://npm.io/package/uuid.md) ^9.0.0
- [exifreader](https://npm.io/package/exifreader.md) ^4.8.1
- [multiformats](https://npm.io/package/multiformats.md) ^9.6.0
- [path-browserify](https://npm.io/package/path-browserify.md) ^1.0.1
- [@diograph/diograph](https://npm.io/package/@diograph/diograph.md) 0.4.3

## Recent versions

- 0.4.0 (latest) — 2025-03-29
- 0.2.0-rc1 (next) — 2024-07-04
- 0.4.0-rc2 — 2025-03-26
- 0.4.0-rc1 — 2025-02-08
- 0.1.3 — 2024-07-09
- 0.1.2 — 2024-07-07
- 0.1.2-rc12 — 2024-05-05
- 0.1.2-rc10 — 2024-04-28
- 0.1.2-rc9 — 2024-04-28
- 0.1.2-rc8 — 2024-04-22
- 0.1.2-rc7 — 2024-04-21
- 0.1.2-rc6 — 2024-04-20
- 0.1.2-rc5 — 2024-04-20
- 0.1.2-rc4 — 2024-02-04
- 0.1.2-rc3 — 2024-01-28
- … 15 more at https://npm.io/package/@diograph/file-generator/versions

## README

# @diograph/file-generator

## Install

```
npm install @diograph/file-generator
# or
yarn add @diograph/file-generator
```

## Usage

```
import { generateDiory } from '@diograph/file-generator'
const diory = await generateDiory('', filePath)
console.log('Hello diory!', diory.toObject())
```

## Development

Compile typescript in real time to `/dist` folder:

```
yarn build-watch
```

Run unit tests in the background:

```
yarn test-watch
```

## Publish

Create new version and publish to npm:

```
yarn publish
```

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