qsu 1.9.1 → 1.9.3

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 CHANGED
@@ -1,21 +1,26 @@
1
1
  ![logo](https://raw.githubusercontent.com/jooy2/qsu/main/.github/resources/logo.webp)
2
2
 
3
- # qsu: Quick & Simple Utility for Node.js
3
+ # qsu - Quick & Simple Utility
4
4
 
5
- [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jooy2/qsu/blob/main/LICENSE) ![Programming Language Usage](https://img.shields.io/github/languages/top/jooy2/qsu) ![Commit Count](https://img.shields.io/github/commit-activity/y/jooy2/qsu) [![npm downloads](https://img.shields.io/npm/dm/qsu.svg)](https://www.npmjs.com/package/qsu) [![npm latest package](https://img.shields.io/npm/v/qsu/latest.svg)](https://www.npmjs.com/package/qsu) ![npm maintenance](https://img.shields.io/npms-io/maintenance-score/qsu) ![npm quality](https://img.shields.io/npms-io/quality-score/qsu) ![minified size](https://img.shields.io/bundlephobia/min/qsu) [![Followers](https://img.shields.io/github/followers/jooy2?style=social)](https://github.com/jooy2) ![Stars](https://img.shields.io/github/stars/jooy2/qsu?style=social)
5
+ [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jooy2/qsu/blob/main/LICENSE) ![Commit Count](https://img.shields.io/github/commit-activity/y/jooy2/qsu) [![Followers](https://img.shields.io/github/followers/jooy2?style=social)](https://github.com/jooy2) ![Stars](https://img.shields.io/github/stars/jooy2/qsu?style=social)
6
6
 
7
- **qsu** is an underscore-based utility library optimized for the **[Node.js](https://nodejs.org)** development environment. It is supported in one module without the need to separately write frequently used methods for each project.
7
+ **qsu** is a library that collects frequently used utility functions. Streamline repetitive code with useful functions. Optimized for modern development environments, it supports various programming languages.
8
8
 
9
- - Lightweight and fast!
10
- - Easy to install and use.
11
- - 100% optimized for the latest Node.js and ESM environments.
12
- - Useful features for websites and web applications
9
+ The following are the advantages of the qsu:
13
10
 
14
- ## [Documentation (Getting Started & Method Reference)](https://qsu.cdget.com/installation/javascript)
11
+ - Fast, lightweight bundle size
12
+ - Install and use easily.
13
+ - It is suitable for use on websites or applications.
14
+ - Documents, prepared for secure data types.
15
+ - Reduce defects through fast maintenance and various test cases.
16
+ - Support for multiple programming languages for the same operation. (JavaScript, Dart)
15
17
 
16
- Installing and using the package and defining all the utility methods can be found on the documentation page below: https://qsu.cdget.com/installation/javascript
18
+ ## Documentation
17
19
 
18
- In addition, `qsu` is also available for the Dart language: https://github.com/jooy2/qsu-dart
20
+ Installing and using the package and defining all the utility methods can be found on the documentation page below.
21
+
22
+ - [Installation](https://qsu.cdget.com/installation/javascript)
23
+ - [Reference](https://qsu.cdget.com/reference)
19
24
 
20
25
  ## Contributing
21
26
 
@@ -29,5 +29,5 @@ export interface LicenseOption {
29
29
  yearStart: string | number;
30
30
  yearEnd?: string;
31
31
  htmlBr?: boolean;
32
- type: 'mit' | 'apache20';
32
+ type: 'mit' | 'apache20' | 'bsd3';
33
33
  }
@@ -1 +1 @@
1
- export function generateLicense(e){const i=e.htmlBr?"<br/>":"\n",t=`${e.yearStart}${e.yearEnd?`-${e.yearEnd}`:""}`,o=`${e.author}${e.email?` <${e.email}>`:""}`;return"apache20"===e.type.replace(/\.-_,\s/g,"").toLowerCase()?`Copyright ${t} ${o}${i}${i}Licensed under the Apache License, Version 2.0 (the "License");${i}you may not use this file except in compliance with the License.${i}You may obtain a copy of the License at${i}${i} http://www.apache.org/licenses/LICENSE-2.0${i}${i}Unless required by applicable law or agreed to in writing, software${i}distributed under the License is distributed on an "AS IS" BASIS,${i}WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.${i}See the License for the specific language governing permissions and${i}limitations under the License.`:`Copyright (c) ${t} ${o}${i}${i}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:${i}${i}The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.${i}${i}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.`}
1
+ export function generateLicense(e){const i=e.htmlBr?"<br/>":"\n",t=`${e.yearStart}${e.yearEnd?`-${e.yearEnd}`:""}`,o=`${e.author}${e.email?` <${e.email}>`:""}`;switch(e.type.replace(/\.-_,\s/g,"").toLowerCase()){case"apache20":return`Copyright ${t} ${o}${i}${i}Licensed under the Apache License, Version 2.0 (the "License");${i}you may not use this file except in compliance with the License.${i}You may obtain a copy of the License at${i}${i} http://www.apache.org/licenses/LICENSE-2.0${i}${i}Unless required by applicable law or agreed to in writing, software${i}distributed under the License is distributed on an "AS IS" BASIS,${i}WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.${i}See the License for the specific language governing permissions and${i}limitations under the License.`;case"bsd3":return`Copyright ${t} ${o}${i}${i}Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:${i}${i}1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.${i}${i}2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.${i}${i}3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.${i}${i}THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.`;default:return`Copyright (c) ${t} ${o}${i}${i}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:${i}${i}The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.${i}${i}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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qsu",
3
- "version": "1.9.1",
4
- "description": "qsu is a lightweight and simple module with a variety of built-in utility functions that you can utilize in your Node.js projects.",
3
+ "version": "1.9.3",
4
+ "description": "qsu is a utility library that contains useful and frequently used functions. Start with your preferred language and the latest development environment.",
5
5
  "author": "CDGet <jooy2.contact@gmail.com>",
6
6
  "license": "MIT",
7
7
  "homepage": "https://qsu.cdget.com",
@@ -58,6 +58,7 @@
58
58
  "tool",
59
59
  "toolkit",
60
60
  "underscore",
61
+ "web",
61
62
  "website",
62
63
  "helper",
63
64
  "array",
@@ -68,6 +69,7 @@
68
69
  "encrypt",
69
70
  "decrypt",
70
71
  "format",
72
+ "crypto",
71
73
  "file"
72
74
  ],
73
75
  "devDependencies": {