dphelper 0.4.8 → 0.4.91

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/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ New minor (feature) releases of this app/software are released every six months and
4
+ patch (bugfix) releases are released every month. More information on the
5
+ release cycle: see package.json
6
+
7
+ ## Previous
8
+
9
+ Please see the git history for the details of previous versions.
package/HISTORY.md ADDED
@@ -0,0 +1,49 @@
1
+ # Changelog
2
+
3
+ ## v0.4.91 / 2023-12-20
4
+
5
+ - NPM update  [Dario Passariello](https://github.com/passariello) ()
6
+
7
+ ## Previous
8
+
9
+ ## v0.4.9 / 2023-12-12
10
+
11
+ - NPM update  [Dario Passariello](https://github.com/passariello) ()
12
+ - General bug fix  [Dario Passariello](https://github.com/passariello) ()
13
+ - Fix document forlder issue [Dario Passariello](https://github.com/passariello) ()
14
+
15
+ ## v0.4.8 / 2023-11-23
16
+
17
+ - NPM update  [Dario Passariello](https://github.com/passariello) ()
18
+ - Added split extension as dphelper.system  [Dario Passariello](https://github.com/passariello) ()
19
+ - General bug fix  [Dario Passariello](https://github.com/passariello) ()
20
+ - Removed documents folder from dist  [Dario Passariello](https://github.com/passariello) ()
21
+
22
+ ## v0.4.7 / 2023-11-11
23
+
24
+ - NPM update  [Dario Passariello](https://github.com/passariello) ()
25
+
26
+ ## v0.4.6 / 2023-11-08
27
+
28
+ - NPM update  [Dario Passariello](https://github.com/passariello) ()
29
+
30
+ ## v0.4.5 / 2023-11-08
31
+
32
+ - NPM update [Dario Passariello](https://github.com/passariello) ()
33
+
34
+ ## v0.4.4 / 2023-10-25
35
+
36
+ - Change license from CC BY-NC-ND 4.0 to MIT [Dario Passariello](https://github.com/passariello) ()
37
+ - NPM update [Dario Passariello](https://github.com/passariello) ()
38
+
39
+ ## v0.4.3 / 2023-10-18
40
+
41
+ - NPM update [Dario Passariello](https://github.com/passariello) ()
42
+
43
+ ## v0.4.2 / 2023-10-09
44
+
45
+ - Fix some minor bugs [Dario Passariello](https://github.com/passariello) ()
46
+ - NPM update [Dario Passariello](https://github.com/passariello) ()
47
+ - Change license Apache-2.0 to MIT
48
+
49
+ Please see the git history for the details of previous versions.
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # MIT License
2
+
3
+ Copyright (c) Dario Passariello <dariopassariello@gmail.com> (dario.passariello.ca)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022 Dario Passariello - dariopassariello@gmail.com
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,129 @@
1
+ # I am dpHelper
2
+
3
+ ```text
4
+ dpHelper Devtools by Dario Passariello
5
+ ```
6
+
7
+ ![dpHelper](https://raw.githubusercontent.com/passariello/dphelper/HEAD/assets/logos/logo.svg)
8
+
9
+ Manager | DevTools by [Dario Passariello (c)](https://dario.passariello.ca)
10
+
11
+ ![git repository](https://img.shields.io/badge/git%20repository-updated-green.svg)
12
+ ![browser extension](https://img.shields.io/badge/browser%20extension-beta-orange.svg)
13
+
14
+ ---
15
+
16
+ ![TypeScript](https://img.shields.io/badge/TypeScript-006b98?logo=TypeScript&logoColor=white)
17
+ ![Node-js](https://img.shields.io/badge/Node-js-006b98?logo=Node-js&logoColor=white)
18
+ ![Express](https://img.shields.io/badge/Express-006b98?logo=Express&logoColor=white)
19
+ ![React-js](https://img.shields.io/badge/React-js-006b98?logo=React-js&logoColor=white)
20
+ ![Api](https://img.shields.io/badge/Api-006b98?logo=Api&logoColor=white)
21
+ ![dpHelper](https://img.shields.io/badge/dpHelper-npm-green?logo=dpHelper&logoColor=white)
22
+ ![layerpro](https://img.shields.io/badge/layerpro-npm-green?logo=layerpro&logoColor=white)
23
+
24
+ ## About
25
+
26
+ dpHelper is a pricise and complete collection of functions ready to use in all web application. State and Store Management are now easy and global. Just for example “state.myData = ”hello world" and your string is ready everywhere in your Ajax or React app. It's more easy and intuitive of Redux.
27
+ You don't need to creare any extra files, dispatch or reducer… It's work like say 123.
28
+
29
+ Please, read the [LICENSE](/LICENSE.md) agreement before to implementing in your application.
30
+
31
+ ## The Best Way To Use State
32
+
33
+ You can use "state" to store all what you want and reuse everywhere. Like other state manager you can store information in JSON format and you can use them in react, useEffect, dispatch in a very easy way.
34
+
35
+ _example:_
36
+
37
+ You can use devtools in your browser and type " **state.test = 'I am ready'** ".
38
+ Every time you want to use '**test**' you need just recall **state.test**.
39
+
40
+ ```javascript
41
+ state.test = "I am ready";
42
+ ```
43
+
44
+ recall
45
+
46
+ ```javascript
47
+ state.test;
48
+ ```
49
+
50
+ To see all states just use
51
+
52
+ ```javascript
53
+ state;
54
+ ```
55
+
56
+ PS: you can use dpHelper browser extension if you want to manage states in a easy way! :)
57
+
58
+ ![dpHelper Banner](https://raw.githubusercontent.com/passariello/dphelper/HEAD/assets/images/screenshot2.png)
59
+
60
+ ---
61
+
62
+ ## Install for react + webpack projects
63
+
64
+ ```text
65
+ npm i dphelper --save-dev
66
+ ```
67
+
68
+ or update:
69
+
70
+ ```text
71
+ npm i dphelper@latest --save-dev
72
+ ```
73
+
74
+ in the index (and only there):
75
+
76
+ ```javascript
77
+ import "dphelper";
78
+ ```
79
+
80
+ or
81
+
82
+ ```javascript
83
+ require("dphelper");
84
+ ```
85
+
86
+ ## Install for ejs or other type of projects (like html)
87
+
88
+ note: you don't need to use npm install in this case or you get an error
89
+
90
+ ```html
91
+ <script src="https://unpkg.com/dphelper@latest/index.js"></script>
92
+ ```
93
+
94
+ ## How to use it
95
+
96
+ type 'dphelper' in your console to have a look about all available tools that you can use globaly!
97
+
98
+ You can call these from everywhere without import (just one at index)
99
+
100
+ ## Instance it
101
+
102
+ You can istance dpHelper to make it more short command.
103
+
104
+ Example:
105
+
106
+ ```javascript
107
+ window.dph = window.dphelper || {};
108
+ ```
109
+
110
+ Copy this at top of your index page to be global
111
+
112
+ You can call these from everywhere without import (just one at index)
113
+
114
+ ## Browser Extension (Chrome/Edge)
115
+
116
+ ![dpHelper Banner](https://raw.githubusercontent.com/passariello/dphelper/HEAD/assets/images/banner.png)
117
+
118
+ ![browser extension](https://img.shields.io/badge/browser%20extension-beta-orange.svg)
119
+
120
+ ![dpHelper Banner](https://raw.githubusercontent.com/passariello/dphelper/HEAD/assets/images/screenshot.png)
121
+
122
+ Chrome: [Download from Google Web Store](https://chrome.google.com/webstore/detail/dphelper-manager-dev-tool/oppppldaoknfddeikfloonnialijngbk)
123
+ Edge: [Download from Microsoft Addons](https://microsoftedge.microsoft.com/addons/detail/dphelper-manager-dev-to/kphabkbdpaljlfagldhojilhfammepnk)
124
+
125
+ This extension allows you to manage your app's dpHelper NPM. Here you will find all the tools with description and methods of use. Designed to simplify API operations, data manipulation and retention. You will be able to monitor memory usage and localStorage. You will always be updated on updates and tricks for your daily work. The dpHelper tool is a collection of scripts to simplify, improve and speed up your work. Designed to be easy to install and use. Just use "import 'dphelper'" in your project index. All scripts work in global and are reachable everywhere.
126
+
127
+ ---
128
+
129
+ copyright (c) 2019 - 2023 by Dario Passariello
package/SECURITY.md ADDED
@@ -0,0 +1,3 @@
1
+ # Security
2
+
3
+ Please email [@passariello](https://github.com/passariello) or see https://dario.passariello.ca/contact/ if you have a potential security vulnerability to report.