Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 96ceb2d

Browse files
authored
v1.2.1
A release making some minor changes to the codebase and significantly updating the README.
1 parent e76fe70 commit 96ceb2d

7 files changed

Lines changed: 52 additions & 39 deletions

File tree

.github/labeler.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ readme:
22
- "README.md"
33

44
modules:
5-
- src/modules/**/*
6-
- "src/modules.js"
5+
- src/modules/**/*

README.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,39 @@
11
<p align="center">
2-
<img src="https://images.easyscript.dev/banner.png" />
2+
<img src="https://images.easyscript.dev/banner.png">
33
</p>
44

55
<p align="center">
6-
<img
7-
alt="Lastest Release"
8-
src="https://img.shields.io/github/v/release/easyscriptjs/easyscript?style=for-the-badge"
9-
/>
10-
<img
11-
alt="GitHub Issues"
12-
src="https://img.shields.io/github/issues-raw/easyscriptjs/easyscript?label=Issues&style=for-the-badge"
13-
/>
14-
<img
15-
alt="GitHub Pull Requests"
16-
src="https://img.shields.io/github/issues-pr-raw/easyscriptjs/easyscript?label=Pull%20Requests&style=for-the-badge"
17-
/>
6+
<img alt="Lastest Release" src="https://img.shields.io/github/v/release/easyscriptjs/easyscript?style=for-the-badge">
7+
<img alt="GitHub Issues" src="https://img.shields.io/github/issues-raw/easyscriptjs/easyscript?label=Issues&style=for-the-badge">
8+
<img alt="GitHub Pull Requests" src="https://img.shields.io/github/issues-pr-raw/easyscriptjs/easyscript?label=Pull%20Requests&style=for-the-badge">
189
</p>
1910

20-
<h1 align="center">Easy Script</h1>
11+
<h1 align="center">✨ Easy Script</h1>
12+
2113
<p align="center">Easy Script is a npm package which makes coding in JavaScript easy!</p>
2214

23-
<h2 align="center">Documentation</h2>
24-
<p align="center">You can find information about installing, using modules and more on the <a href="https://docs.easyscript.dev">docs</a>.</p>
15+
## 📊 Installation
16+
17+
You can you use one of the methods below to install Easy Script.
18+
19+
```
20+
npm install easyscriptjs
21+
```
22+
23+
```
24+
yarn add easyscriptjs
25+
```
26+
27+
For more information on how to use Easy Script, the [documentation](https://docs.easyscript.dev) should help you.
28+
29+
## 🤔 Why?
30+
31+
- Beginner friendly
32+
- Easy to use
33+
- Open source project
34+
- Reduces the size of your code
35+
- Simple & understandable documentation
36+
37+
## ❓ Support
38+
39+
If you need any help, feel free to [open an issue](https://github.com/EasyScriptJS/EasyScript/issues/new/choose).

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "easyscriptjs",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Easy Script is a npm package which makes coding in JavaScript easy!",
55
"main": "src/index.js",
66
"scripts": {},

src/index.js

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1-
const modules = require("./modules");
1+
const modules = {
2+
flip: require("./modules/flip"),
3+
id: require("./modules/id"),
4+
log: require("./modules/log"),
5+
print: require("./modules/print"),
6+
random: require("./modules/random"),
7+
util: {
8+
boolToNum: require("./modules/util/boolToNum"),
9+
boolToStr: require("./modules/util/boolToStr"),
10+
numToStr: require("./modules/util/numToStr"),
11+
strToBool: require("./modules/util/strToBool"),
12+
strToNum: require("./modules/util/strToNum"),
13+
removeDuplicates: require("./modules/util/removeDuplicates")
14+
},
15+
uuid: require("./modules/uuid")
16+
}
217

318
module.exports = modules;

src/modules.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/modules/util/removeDuplicates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const removeDuplicates = (
122122
} else if (e === "lengthwise") {
123123
newArray.sort((a, b) =>
124124
(typeof a === "string" && typeof b == "string") ||
125-
(Array.isArray(a) && Array.isArray(b))
125+
(Array.isArray(a) && Array.isArray(b))
126126
? a.length - b.length
127127
: -1
128128
);

0 commit comments

Comments
 (0)