Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

happy-ua

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

happy-ua - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

test/dist/index.js

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc