https://github.com/ossphilippines/morphling.js
Vanilla Js version of Vue Morphling
https://github.com/ossphilippines/morphling.js
hacktoberfest
Last synced: 4 months ago
JSON representation
Vanilla Js version of Vue Morphling
- Host: GitHub
- URL: https://github.com/ossphilippines/morphling.js
- Owner: OSSPhilippines
- License: mit
- Created: 2018-01-15T04:53:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T00:55:17.000Z (over 3 years ago)
- Last Synced: 2024-05-02T21:52:43.369Z (about 2 years ago)
- Topics: hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 7.86 MB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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
...
...
...
```
# Use
```javascript
morphling.uppercase('foo');
// FOO
mophling.reverse('bar');
// rab
```
```html
foo
bar
```
# API
**Filters**
- [Capitalize](#capitalize)
## capitalize
> foo -> Foo
Capitalize the first character of a giver string.
```javascript
morphling.capitalize('foo'); // -> Foo
```
```html
foo // -> Foo
```
[Back to top ↑](#api)
----
Made with ❤️ by Jofferson Ramirez Tiquez