# @tryghost/mg-fs-utils

> `npm install @tryghost/mg-fs-utils --save`

Latest version **0.26.6** (published 2026-08-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tryghost/mg-fs-utils
pnpm add @tryghost/mg-fs-utils
yarn add @tryghost/mg-fs-utils
bun add @tryghost/mg-fs-utils
```

## Health

**Score 65/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no types; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.26.6 |
| Published | 2026-08-24 |
| First published | 2018-11-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 26.2 KB |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Ghost Foundation |
| Maintainers | zimoatghost, allouis, kernalghost, chrisraible, erisds, johnonolan, kevinansfield, cobbspur, aileencgn, jloh, minimaluminium, sam-lord, pauladamdavis, bobvaneck, joeegrigg, hadret, erik-ghost, sagzy, vershwal, zach1618, mike182uk, luissazevedo, lsinger, nickmoreton, renatoworks, rblstr-ghost, evanhahn-ghost, austin.burdine, weylandswart, ghost-slimer, tmciesco, jonatan-ghost, 9larsons |

## Links

- npm: https://www.npmjs.com/package/@tryghost/mg-fs-utils
- Repository: https://github.com/TryGhost/migrate
- Homepage: https://github.com/TryGhost/migrate#readme
- Issues: https://github.com/TryGhost/migrate/issues
- npm.io page: https://npm.io/package/@tryghost/mg-fs-utils

## Dependencies (10)

- [sharp](https://npm.io/package/sharp.md) 0.35.3
- [dotenv](https://npm.io/package/dotenv.md) 17.4.2
- [adm-zip](https://npm.io/package/adm-zip.md) 0.6.0
- [fs-extra](https://npm.io/package/fs-extra.md) 11.4.0
- [csv-parse](https://npm.io/package/csv-parse.md) 7.0.2
- [@tryghost/zip](https://npm.io/package/@tryghost/zip.md) 3.5.5
- [transliteration](https://npm.io/package/transliteration.md) 2.6.1
- [@tryghost/errors](https://npm.io/package/@tryghost/errors.md) 3.3.6
- [@tryghost/string](https://npm.io/package/@tryghost/string.md) 0.3.5
- [@tryghost/image-transform](https://npm.io/package/@tryghost/image-transform.md) 1.4.17

## Recent versions

- 0.26.6 (latest) — 2026-08-24
- 0.26.5 — 2026-08-19
- 0.26.4 — 2026-08-12
- 0.26.3 — 2026-08-04
- 0.26.2 — 2026-07-15
- 0.26.1 — 2026-07-01
- 0.26.0 — 2026-06-17
- 0.25.0 — 2026-06-04
- 0.24.0 — 2026-05-07
- 0.23.3 — 2026-04-28
- 0.23.2 — 2026-04-28
- 0.23.1 — 2026-04-24
- 0.23.0 — 2026-04-20
- 0.22.0 — 2026-04-16
- 0.21.0 — 2026-04-10
- … 95 more at https://npm.io/package/@tryghost/mg-fs-utils/versions

## README

# Migrate Fs Utils

## Install

`npm install @tryghost/mg-fs-utils --save`

or

`pnpm add @tryghost/mg-fs-utils`


## Usage

You can add `.env` file in the root of this package to set a different local cache path.
By default, it will create a temporary folder in the system's temp directory, but you may want to chang this to a more permanent location. Setting `CACHE_PATH` in `.env` will override the default.

```env
CACHE_PATH=/path/to/cache
```


## Develop

This is a mono repository, managed with [Nx](https://nx.dev/) and pnpm workspaces.

Follow the instructions for the top-level repo.
1. `git clone` this repo & `cd` into it as usual
2. Run `pnpm install` to install top-level dependencies.


## Run

- `pnpm dev`


## Test

- `pnpm test` runs the package tests
- Linting and formatting are run from the repo root (`pnpm lint`, `pnpm format`)




# Copyright & License

Copyright (c) 2013-2026 Ghost Foundation - Released under the [MIT license](LICENSE).

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