caselyjs 0.0.5 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # 🛠️ caselyjs
2
2
 
3
- **renamejs** is a CLI and programmatic tool that helps you **rename files and folders** in bulk using a consistent naming convention like `kebab-case`, `camelCase`, or `PascalCase`.
3
+ **caselyjs** is a CLI and programmatic tool that helps you **rename files and folders** in bulk using a consistent naming convention like `kebab-case`, `camelCase`, or `PascalCase`.
4
4
 
5
5
  > Say goodbye to manually renaming 100+ files in your project!
6
6
 
@@ -18,13 +18,13 @@ npm install caselyjs
18
18
 
19
19
  ```js
20
20
  // index.js
21
- import { rename } from 'caselyjs';
21
+ import { casely } from 'caselyjs';
22
22
 
23
- rename.config({
23
+ casely.config({
24
24
  path: 'src'
25
25
  });
26
26
 
27
- rename.execute();
27
+ casely.execute();
28
28
  ```
29
29
 
30
30
  ## ⚙️ Config Options
@@ -32,7 +32,7 @@ rename.execute();
32
32
  ### Default Options
33
33
 
34
34
  ```js
35
- rename.config({
35
+ casely.config({
36
36
  path: 'src',
37
37
  case: 'kebab',
38
38
  file: ['js', 'jsx'],
@@ -48,7 +48,7 @@ rename.config({
48
48
  > default file extensions `['js', 'jsx']`, can include more extenstion in the array.\
49
49
  > eg.
50
50
  > ```js
51
- > rename.config({
51
+ > casely.config({
52
52
  > // ...previous
53
53
  > file: ['js', 'jsx', 'ts', 'tsx']
54
54
  > })
@@ -15,7 +15,7 @@ let defaultConfig = {
15
15
 
16
16
  // -------------------------------------------------
17
17
 
18
- export const rename = {
18
+ export const casely = {
19
19
  config(options = {}) {
20
20
  defaultConfig = {
21
21
  ...defaultConfig,
package/index.js CHANGED
@@ -1 +1 @@
1
- export * from "./rename.js"
1
+ export * from "./casely.js"
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "caselyjs",
3
- "version": "0.0.5",
4
- "description": "A tool for renaming files and folders in a efficient way",
5
- "main": "index.js",
6
- "type": "module",
7
- "scripts": {
8
- "rename": "node index.js"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/Ninja-Vikash/caselyjs.git"
13
- },
14
- "keywords": [
15
- "rename",
16
- "case",
17
- "utility",
18
- "file-renamer",
19
- "casely",
20
- "case-converter"
21
- ],
22
- "author": "ninja-vikash",
23
- "license": "MIT",
24
- "bugs": {
25
- "url": "https://github.com/Ninja-Vikash/caselyjs/issues"
26
- },
27
- "homepage": "https://github.com/Ninja-Vikash/caselyjs#readme"
28
- }
1
+ {
2
+ "name": "caselyjs",
3
+ "version": "0.1.0",
4
+ "description": "A minimal renaming tool for setting an uniform naming convetion accross all files, capable of renaming 100+ files in one go.",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "scripts": {
8
+ "rename": "node index.js"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/codezaura/caselyjs.git"
13
+ },
14
+ "keywords": [
15
+ "naming convention tool",
16
+ "file / folder renamer",
17
+ "case changer",
18
+ "kebab case to pascal case",
19
+ "pascal case to camel case",
20
+ "came case to kebab case"
21
+ ],
22
+ "author": "codezaura",
23
+ "license": "MIT",
24
+ "bugs": {
25
+ "url": "https://github.com/codezaura/caselyjs/issues"
26
+ },
27
+ "homepage": "https://github.com/codezaura/caselyjs#readme"
28
+ }