https://github.com/directus/file-metadata
https://github.com/directus/file-metadata
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/directus/file-metadata
- Owner: directus
- Created: 2022-12-20T20:27:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T02:17:25.000Z (about 3 years ago)
- Last Synced: 2025-04-19T21:42:32.307Z (9 months ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# @directus/file-metadata
Extract file metadata from input stream.
## Usage
```js
import { ? } from '@directus/file-metadata';
const stream = createReadStream('./path/to/file.jpg');
const metadata = ??????;
```