laradumps-js 0.1.4 → 0.1.7
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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/index.js +3190 -556
- package/dist/index.js.map +1 -1
- package/dist/laradumps.min.js +1 -1
- package/dist/src/Benchmark.test.js +78 -0
- package/dist/src/Benchmark.test.js.map +1 -0
- package/dist/src/Colors.test.js +25 -0
- package/dist/src/Colors.test.js.map +1 -0
- package/dist/src/Json.js +19 -1
- package/dist/src/Json.js.map +1 -1
- package/dist/src/Json.test.js +34 -0
- package/dist/src/Json.test.js.map +1 -0
- package/dist/src/Label.test.js +13 -0
- package/dist/src/Label.test.js.map +1 -0
- package/dist/src/LaraDumps.js +6 -7
- package/dist/src/LaraDumps.js.map +1 -1
- package/dist/src/LaraDumps.test.js +44 -0
- package/dist/src/LaraDumps.test.js.map +1 -0
- package/dist/src/Screen.test.js +20 -0
- package/dist/src/Screen.test.js.map +1 -0
- package/dist/src/Table.test.js +34 -0
- package/dist/src/Table.test.js.map +1 -0
- package/dist/src/TimeTrack.test.js +30 -0
- package/dist/src/TimeTrack.test.js.map +1 -0
- package/dist/src/Validate.test.js +35 -0
- package/dist/src/Validate.test.js.map +1 -0
- package/index.js +2 -2
- package/package.json +18 -5
- package/src/Json.ts +22 -2
- package/src/LaraDumps.ts +10 -11
- package/types.d.ts +1 -1
package/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2024 LaraDumps
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
<p align="center">
|
2
|
+
<img src="https://raw.githubusercontent.com/laradumps/laradumps-core/refs/heads/2.x/art/logo.png" height="128" alt="" />
|
3
|
+
</p>
|
4
|
+
<h1 align="center">LaraDumps Js</h1>
|
5
|
+
|
6
|
+
<div align="center">
|
7
|
+
<p align="center">
|
8
|
+
<a href="https://www.npmjs.com/package/laradumps-js">
|
9
|
+
<img alt="Total Downloads" src="https://img.shields.io/npm/dm/laradumps-js">
|
10
|
+
</a>
|
11
|
+
<a href="https://www.npmjs.com/package/laradumps-js">
|
12
|
+
<img alt="Latest Version" src="https://img.shields.io/npm/v/laradumps-js">
|
13
|
+
</a>
|
14
|
+
<a href="https://github.com/laradumps/laradumps-js/actions">
|
15
|
+
<img alt="Tests" src="https://github.com/laradumps/laradumps-js/workflows/Node.js%20CI/badge.svg" />
|
16
|
+
</a>
|
17
|
+
<a href="https://www.npmjs.com/package/laradumps-js">
|
18
|
+
<img alt="License" src="https://img.shields.io/github/license/laradumps/laradumps-js">
|
19
|
+
</a>
|
20
|
+
</p>
|
21
|
+
</div>
|
22
|
+
|
23
|
+
### 👋 Hello Dev,
|
24
|
+
|
25
|
+
<br/>
|
26
|
+
|
27
|
+
LaraDumps is a user-friendly application designed to boost your coding and debugging experience.
|
28
|
+
|
29
|
+
When using LaraDumps, you can see your debugging results displayed in a standalone Desktop application.
|
30
|
+
|
31
|
+
### Get Started
|
32
|
+
|
33
|
+
#### Web
|
34
|
+
|
35
|
+
1. Add the min script to your header.
|
36
|
+
|
37
|
+
```html
|
38
|
+
<script src="
|
39
|
+
https://cdn.jsdelivr.net/npm/laradumps-js/dist/laradumps.min.js
|
40
|
+
"></script>
|
41
|
+
```
|
42
|
+
|
43
|
+
2. Add a `ds()` function somewhere in your code.
|
44
|
+
|
45
|
+
---
|
46
|
+
|
47
|
+
#### NodeJs | ReactJs | React Native
|
48
|
+
|
49
|
+
1. Install LaraDumps Js in your project, run the command:
|
50
|
+
|
51
|
+
```shell
|
52
|
+
yarn add -D laradumps-js
|
53
|
+
npm install -D laradumps-js
|
54
|
+
```
|
55
|
+
|
56
|
+
2. Import the Laradumps Js
|
57
|
+
|
58
|
+
```Javascript
|
59
|
+
import {ds} from 'laradumps-js'
|
60
|
+
```
|
61
|
+
or
|
62
|
+
```Javascript
|
63
|
+
import 'laradumps-js'
|
64
|
+
```
|
65
|
+
|
66
|
+
3. Add a `ds()` function somewhere in your code.
|
67
|
+
|
68
|
+
#### Vite
|
69
|
+
|
70
|
+
1. Install LaraDumps Js in your project, run the command:
|
71
|
+
|
72
|
+
```shell
|
73
|
+
yarn add -D laradumps-js
|
74
|
+
npm install -D laradumps-js
|
75
|
+
```
|
76
|
+
|
77
|
+
2. Import Laradumps Js inside bootstrap
|
78
|
+
|
79
|
+
```Javascript
|
80
|
+
import 'laradumps-js'
|
81
|
+
```
|
82
|
+
|
83
|
+
3. Add a `ds()` function somewhere in your code.
|
84
|
+
|
85
|
+
Here's an example:
|
86
|
+
|
87
|
+
```js
|
88
|
+
//... some JS code ...
|
89
|
+
|
90
|
+
ds('Hello from LaraDumps!').info();
|
91
|
+
```
|
92
|
+
|
93
|
+
### Credits
|
94
|
+
|
95
|
+
- Author: [Luan Freitas](https://github.com/luanfreitasdev)
|
96
|
+
|
97
|
+
- Contribution: [Hecktor Viegas](https://github.com/hecktorvn)
|
98
|
+
|
99
|
+
- Logo by [Vitor S. Rodrigues](https://github.com/vs0uz4)
|