# ejf

> It helps you to use complex and long functions with Simple and short functions!

Latest version **0.2.9** (published 2021-06-30) · ISC license · 0 weekly downloads

## Install

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

## 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.2.9 |
| Published | 2021-06-30 |
| First published | 2021-06-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Wraithdev |
| Maintainers | wraithdev |
| Keywords | Function, Javascript, javascript, JS, js, Js |

## Links

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

## 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.2.9 (latest) — 2021-06-30
- 0.2.8 — 2021-06-25
- 0.2.7 — 2021-06-25
- 0.2.6 — 2021-06-25
- 0.2.5 — 2021-06-25
- 0.2.4 — 2021-06-25
- 0.2.3 — 2021-06-25
- 0.2.2 — 2021-06-25
- 0.2.1 — 2021-06-25
- 0.2.0 — 2021-06-25
- 0.1.9 — 2021-06-25
- 0.1.8 — 2021-06-23
- 0.1.7 — 2021-06-23
- 0.1.6 — 2021-06-23
- 0.1.5 — 2021-06-23
- … 14 more at https://npm.io/package/ejf/versions

## README

# EJF(Easy Javascript Functions)
## Helpers Class
```js
const EJF = require('ejf');
console.log(EJF.upperCase("this is a test for ejf"));
// Input   : this is a test for ejf
// Output  : This is a test for ejf
console.log(EJF.upperCaseAll("this is a test for ejf"));
// Input   : this is a test for ejf
// Output  : This Is A Test For Ejf
```

## File Class
```js
const EJF = require('ejf');
console.log(EJF.extension("ejf_test_func.png"));
// Input   : ejf_test_func.png
// Output  : png
console.log(EJF.nwe("super_duper.good.image.png"));
// Input   : super_duper.good.image.png
// Output  : super_duper.good.image
```

## Number Class
```js
const EJF = require('ejf');
console.log(EJF.isNum("1"));
// Input   : 1
// Output  : true
EJF.isNum("1")    = true;
EJF.isNum("-1")   = true;
EJF.isNum("a")    = false;
EJF.isNum("null") = false;
EJF.isNum("3a8")  = false;
EJF.isNum("23e8") = true (23e+8)

console.log(EJF.possibility(10,3));
// Output  : 30%
console.log(EJF.possibility(57,8));
// Output  : 14.0350877193%
console.log(EJF.possibility(33,5));
// Output  : 15.1515151515%
```

## String Class
```js
const EJF = require('ejf');
console.log(EJF.isStr("a"));
// Input   : a
// Output  : true
EJF.isStr("1")      = false;
EJF.isStr("a62")    = false;
EJF.isStr("a.")     = false;
EJF.isStr("null")   = true;
EJF.isStr(null)     = false;
EJF.isStr("3a8")    = false;

console.log(EJF.specialChar("."));
// Input   : .
// Output  : true
EJF.specialChar("1")      = false;
EJF.specialChar("a.")     = false;
// If message not includes letters without a-zA-Z0-9 comes true
```

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