@titocandradev/neatcore 0.2.3 → 0.2.4
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 +7 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @titocandradev/neatcore
|
|
2
2
|
|
|
3
3
|
> Zero-dependency, tree-shakeable, TypeScript-first utility library.
|
|
4
4
|
|
|
@@ -16,19 +16,19 @@ focused on:
|
|
|
16
16
|
## 📦 Installation
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npm install @
|
|
19
|
+
npm install @titocandradev/neatcore
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
or
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
|
-
pnpm add @
|
|
25
|
+
pnpm add @titocandradev/neatcore
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
or
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
bun add @
|
|
31
|
+
bun add @titocandradev/neatcore
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
---
|
|
@@ -38,7 +38,7 @@ bun add @tito/neatcore
|
|
|
38
38
|
### ES Module
|
|
39
39
|
|
|
40
40
|
```ts
|
|
41
|
-
import { firstUppercase } from "@
|
|
41
|
+
import { firstUppercase } from "@titocandradev/neatcore";
|
|
42
42
|
|
|
43
43
|
firstUppercase("tito candra");
|
|
44
44
|
// → "Tito Candra"
|
|
@@ -47,7 +47,7 @@ firstUppercase("tito candra");
|
|
|
47
47
|
### CommonJS
|
|
48
48
|
|
|
49
49
|
```js
|
|
50
|
-
const { firstUppercase } = require("@
|
|
50
|
+
const { firstUppercase } = require("@titocandradev/neatcore");
|
|
51
51
|
|
|
52
52
|
firstUppercase("tito candra");
|
|
53
53
|
```
|
|
@@ -86,7 +86,7 @@ NeatCore is built with the following principles:
|
|
|
86
86
|
Import only what you need:
|
|
87
87
|
|
|
88
88
|
```ts
|
|
89
|
-
import { firstUppercase } from "@
|
|
89
|
+
import { firstUppercase } from "@titocandradev/neatcore";
|
|
90
90
|
```
|
|
91
91
|
|
|
92
92
|
Modern bundlers like Vite, Webpack, and Rollup will automatically remove
|
package/package.json
CHANGED