# @pixielabs/directus-extension-blurhash

> Requires Directus 10. May work on Directus 9 with some tweaking, YMMV.

Latest version **1.0.0** (published 2023-08-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pixielabs/directus-extension-blurhash
pnpm add @pixielabs/directus-extension-blurhash
yarn add @pixielabs/directus-extension-blurhash
bun add @pixielabs/directus-extension-blurhash
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2023-08-07 |
| First published | 2023-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| Maintainers | pixielabs |
| Keywords | directus, directus-extension, directus-custom-hook |

## Links

- npm: https://www.npmjs.com/package/@pixielabs/directus-extension-blurhash
- npm.io page: https://npm.io/package/@pixielabs/directus-extension-blurhash

## Recent versions

- 1.0.0 (latest) — 2023-08-07

## README

Requires Directus 10. May work on Directus 9 with some tweaking, YMMV.

# Setup

1. `npm i @pixielabs/directus-extension-blurhash --save`. A post-install script
   will add a migration to your `extensions/migrations` folder.
2. Restart your Directus app if necessary.

# Development

```
$ npm i --ignore-scripts
$ npm run dev
```

In another terminal, go to your directus installation and:

1. Copy the migration from this folder
2. Use `wml` to auto-copy changes during dev (a symlink stops Node from 
   resolving our Sharp dependency).

   ```
   wml add path/to/@pixielabs/directus-extension-blurhash node_modules/@pixielabs/directus-extension-blurhash
   # Accept the defaults
   wml start
   ```

   If `wml start` does nothing, check [this issue for a fix](https://github.com/wix-incubator/wml/issues/48).

2. Start Directus (`npx directus start`)

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