dphelper 0.2.103 → 0.2.107
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 +16 -20
- package/index.d.ts +27 -0
- package/index.js +1 -1
- package/index.js.LICENSE.txt +4 -4
- package/index.js.map +1 -0
- package/package.json +139 -114
- package/types/audio.d.ts +8 -0
- package/types/cordova.d.ts +12 -0
- package/types/dphelper.d.ts +29 -0
- package/types/files.d.ts +21 -0
- package/types/icon.d.ts +22 -0
- package/types/image.d.ts +9 -0
- package/types/jquery.d.ts +21 -0
- package/types/layerpro.d.ts +23 -0
- package/types/menupro.d.ts +18 -0
- package/types/styles.d.ts +22 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# dpHelper Devtools
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|
|
|
5
5
|
Manager | DevTools by [Dario Passariello (c)](https://dario.passariello.ca)
|
|
6
6
|
|
|
@@ -17,37 +17,32 @@ Manager | DevTools by [Dario Passariello (c)](https://dario.passariello.ca)
|
|
|
17
17
|

|
|
18
18
|

|
|
19
19
|
|
|
20
|
-
##
|
|
20
|
+
## About
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
dpHleper 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.
|
|
23
|
+
You don't need to creare any extra files, dispatch or reducer… It's work like say 123.
|
|
24
|
+
Please, read the [LICENSE](/LICENSE.md) agreement before to implementing in your application.
|
|
24
25
|
|
|
25
|
-
##
|
|
26
|
+
## Install
|
|
26
27
|
|
|
27
|
-
```
|
|
28
|
-
npm i dphelper
|
|
28
|
+
```
|
|
29
|
+
npm i dphelper --save-dev
|
|
29
30
|
```
|
|
30
31
|
|
|
31
32
|
or update:
|
|
32
33
|
|
|
33
|
-
```bash
|
|
34
|
-
npm i dphelper@latest
|
|
35
34
|
```
|
|
36
|
-
|
|
37
|
-
## using CDN
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
https://cdn.skypack.dev/dphelper@latest
|
|
35
|
+
npm i dphelper@latest --save-dev
|
|
41
36
|
```
|
|
42
37
|
|
|
43
38
|
in the index (and only there):
|
|
44
39
|
|
|
45
40
|
```javascript
|
|
46
|
-
import "dphelper"
|
|
41
|
+
import "dphelper";
|
|
47
42
|
|
|
48
|
-
or
|
|
43
|
+
or;
|
|
49
44
|
|
|
50
|
-
require("dphelper")
|
|
45
|
+
require("dphelper");
|
|
51
46
|
```
|
|
52
47
|
|
|
53
48
|
## How to use it
|
|
@@ -63,7 +58,7 @@ You can istance dpHelper to make it more short command.
|
|
|
63
58
|
Example:
|
|
64
59
|
|
|
65
60
|
```javascript
|
|
66
|
-
window.dph = window.dphelper || {}
|
|
61
|
+
window.dph = window.dphelper || {};
|
|
67
62
|
```
|
|
68
63
|
|
|
69
64
|
Copy this at top of your index page to be global
|
|
@@ -72,7 +67,7 @@ You can call these from everywhere without import (just one at index)
|
|
|
72
67
|
|
|
73
68
|
## Browser Extension (Chrome/Edge)
|
|
74
69
|
|
|
75
|
-

|
|
70
|
+

|
|
76
71
|
|
|
77
72
|

|
|
78
73
|
|
|
@@ -82,4 +77,5 @@ Edge: [Download from Microsoft Addons](https://microsoftedge.microsoft.com/addon
|
|
|
82
77
|
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.
|
|
83
78
|
|
|
84
79
|
---
|
|
85
|
-
|
|
80
|
+
|
|
81
|
+
copyright (c) 2019 - 2023 by Dario Passariello
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright: © 2022 Dario Passariello <dariopassariello@gmail.com>
|
|
3
|
+
License: CC BY-NC-ND 4.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/// <reference path="./types/dphelper.d.ts" />
|
|
7
|
+
/// <reference path="./types/jquery.d.ts" />
|
|
8
|
+
|
|
9
|
+
declare namespace dphelper {
|
|
10
|
+
|
|
11
|
+
export interface Window {
|
|
12
|
+
dphelper: any
|
|
13
|
+
}
|
|
14
|
+
export interface Window {
|
|
15
|
+
state: any
|
|
16
|
+
}
|
|
17
|
+
export interface Window {
|
|
18
|
+
store: any
|
|
19
|
+
}
|
|
20
|
+
export interface Window {
|
|
21
|
+
cache: any
|
|
22
|
+
}
|
|
23
|
+
export interface Window {
|
|
24
|
+
api: any
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|