# myopic

> A function for crafting thoughts that don't age well

Latest version **1.0.0** (published 2019-02-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install myopic
pnpm add myopic
yarn add myopic
bun add myopic
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-02-22 |
| First published | 2018-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Michael Chan |
| Maintainers | chantastic |

## Links

- npm: https://www.npmjs.com/package/myopic
- Repository: https://github.com/chantastic/myopic
- Homepage: https://github.com/chantastic/myopic#readme
- Issues: https://github.com/chantastic/myopic/issues
- npm.io page: https://npm.io/package/myopic

## Recent versions

- 1.0.0 (latest) — 2019-02-22
- 1.0.0-2 — 2018-04-13
- 1.0.0-1 — 2018-04-13
- 1.0.0-0 — 2018-04-13

## README

# myopic 🤓
A function for crafting thoughts that don't age well

## usage

```js
myopic("The render prop pattern", "cloneElement")
// => "The render prop pattern replaces cloneElement. I don't see any reason to use cloneElement anymore."

myopic("The new Context API", "Redux")
// => "The new Context API replaces Redux. I don't see any reason to use Redux anymore."
```

Here's the code that powers it:

```js
function myopic(thingIveJustLearned, thingIveUsed) {
  return `${thingIveJustLearned} replaces ${thingIveUsed}. I don't see any reason to use ${thingIveUsed} anymore.`;
}
```

## installation

### Node

```bash
npm i myopic
```

*Module*
```js
import myopic from "myopic";
```

*CommonJS*
```js
const myopic = require("myopic");
```

### Browser
```html
<script src="https://unpkg.com/myopic"></script>
```

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