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

@anyline/anyline-js

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anyline/anyline-js - npm Package Compare versions

Comparing version 29.0.1 to 29.0.2

2

package.json
{
"name": "@anyline/anyline-js",
"version": "29.0.1",
"version": "29.0.2",
"description": "anyline sdk in the browser",

@@ -5,0 +5,0 @@ "main": "anyline.js",

@@ -17,2 +17,10 @@ # AnylineJS

`npm install @anyline/anyline-js`
`import { init, errorCodes } from '@anyline/anyline-js`
or
copy the `anylinejs` folder into the public folder of your webapp.

@@ -22,6 +30,7 @@

`const { init, errorCodes } = window.anylinejs;`
# Usage
```javascript
const { init, errorCodes } = window.anylinejs;

@@ -71,3 +80,2 @@ const viewConfig = {

Anyline.onResult = result => {
console.log('Result: ', result);
let msg = JSON.stringify(result.result);

@@ -89,8 +97,2 @@ alert(msg);

Anyline.startScanning().catch(e => console.error(e.message))
```
## Demo
`npm start demo`
open https://127.0.0.1:8000/demo
```

Sorry, the diff of this file is too big to display

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