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 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)