# morphling

> Just add water data filters for javascript.

Latest version **0.8.0-dev.3** (published 2018-03-09) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.8.0-dev.3 |
| Published | 2018-03-09 |
| First published | 2017-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 585.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jofferson Ramirez Tiquez |
| Maintainers | cent1pede |
| Keywords | js, javascript, filters, attributes |

## Links

- npm: https://www.npmjs.com/package/morphling
- npm.io page: https://npm.io/package/morphling

## Dependencies (1)

- [date-fns](https://npm.io/package/date-fns.md) ^1.29.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.8.0-dev.3 (latest) — 2018-03-09
- 0.3.2 (emergency) — 2017-09-14
- 0.8.0-dev.2 — 2018-03-08
- 0.8.0-dev.1 — 2018-03-08
- 0.6.2 — 2018-02-22
- 0.6.1 — 2018-02-21
- 0.6.0 — 2018-02-21
- 0.5.1 — 2017-10-26
- 0.5.0 — 2017-10-26
- 0.4.1 — 2017-09-25
- 0.4.0 — 2017-09-25
- 0.3.1 — 2017-09-09
- 0.2.4 — 2017-08-16
- 0.2.3 — 2017-08-02
- 0.2.2 — 2017-07-29
- … 11 more at https://npm.io/package/morphling/versions

## README

# Morphling

Super easy to use, pure Javascript data filters collection.

> WARNING: If you are looking for the morphling for vuejs, I renamed it to vue-morphling. This new library is the NEW vanilla javascript version of morphling. For questions please feel free to contact me.

> NOTE: This library is currently in development stage and is not yet ready for production use.

# Install 

**NPM** or **Yard**

`npm install morphling`

`yarn add morphling`

**CDN**

`https://unpkg.com/morphling/dist/morphling.js`
# Apply

*Node*

`import morphling from 'morphling'`;

*HTML*

```html
<html>
  <head>
    ...
  </head>
  <body>
    ...
    <!-- Your shits here -->
    ...
    <!-- IMPORTANT: Mophling.js should be imported below here. -->
    <script src="https://unpkg.com/morphling.js/dist/morphling.js"></script>
  </body>
</html>
```

# Use

```javascript
morphling.uppercase('foo');
// FOO

mophling.reverse('bar');
// rab
```

```html
<h1 data-morph.uppercase>foo</h1>
<!-- FOO -->

<h1 data-morph.reverse>bar</h1>
<!-- rab -->
```

# API

**Filters**

- [Capitalize](#capitalize)

## capitalize

> foo -> Foo

Capitalize the first character of a giver string. 

```javascript
morphling.capitalize('foo'); // -> Foo
```

```html
<span data-morph.capitalize>foo</span> // -> Foo
```

[Back to top ↑](#api)

----



Made with ❤️ by Jofferson Ramirez Tiquez

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