Comparing version 1.0.1 to 1.0.3
{ | ||
"name": "happy-ua", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "help u that according to ua judge the current environment", | ||
"main": "./dist/h-auto.js", | ||
"main": "./src/h-ua.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"test": "parcel ./test/index.js -d ./test/dist", | ||
"dev": "parcel ./src/h-ua.js -d dev", | ||
@@ -9,0 +9,0 @@ "build": "parcel build ./src/h-ua.js -d dist" |
@@ -7,9 +7,10 @@ # h-ua | ||
simple start | ||
<code>clone /src/h-ua.js </code> simple start | ||
```javascripts | ||
```javascript | ||
const enviorment = window.HAPPY_UA(); | ||
``` | ||
use es6 modules | ||
or <code>npm install happy-ua --save </code> use es6 modules | ||
```javascript | ||
@@ -20,3 +21,3 @@ import ua from 'happy-ua'; | ||
## About | ||
## More | ||
@@ -23,0 +24,0 @@ you can get these in difference enviorment |
@@ -42,2 +42,3 @@ const ua = function (config) { | ||
window.HAPPY_UA = ua; | ||
export default ua; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
13619
9
0
35
2
244
3