# key-mirror

> A simple key mirror tool pulled out from react.

Latest version **1.0.1** (published 2015-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install key-mirror
pnpm add key-mirror
yarn add key-mirror
bun add key-mirror
```

## 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.1 |
| Published | 2015-10-12 |
| First published | 2015-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Warren Mira |
| Maintainers | wmira |

## Links

- npm: https://www.npmjs.com/package/key-mirror
- Repository: https://github.com/wmira/key-mirror
- Issues: https://github.com/wmira/key-mirror/issues
- npm.io page: https://npm.io/package/key-mirror

## Recent versions

- 1.0.1 (latest) — 2015-10-12
- 1.0.0 — 2015-01-25

## README

key-mirror
==============

[![Build Status](https://travis-ci.org/wmira/key-mirror.svg?branch=master)](https://travis-ci.org/wmira/key-mirror)

Takes in a {key1:val1...keyn:valn} and returns {key1:key1,keyn:keyn} ala Reacts keyMirror.
 

```javascript

/** quick usage */

var keyMirror = require('key-mirror');

var ACTIONS = keyMirror({
   UPDATE:null,DELETE:null,ADD:null
});

//ACTIONS.UPDATE === 'UPDATE' 
//ACTIONS.DELETE === 'DELETE'
//ACTIONS.ADD === 'ADD'

```

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