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

@stltio/stealth

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stltio/stealth - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

4

index.js

@@ -16,3 +16,4 @@ // import axios from 'axios'

export default async function stealth() {
return await Promise.all([
let start = window.performance.now()
return Promise.all([
{ canvas: await canvas() },

@@ -57,2 +58,3 @@ { device: device() },

local,
ms: parseInt(window.performance.now() - start),
remote: {}

@@ -59,0 +61,0 @@ }

{
"name": "@stltio/stealth",
"version": "0.1.2",
"version": "0.1.3",
"description": "",
"main": "index",
"type": "module",
"git_repository": "https://github.com/stlt-io/stealth.git",
"homepage": "https://github.com/stlt-io/stealth.git",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"keywords": [
"fingerprint",
"fingerprinting",
"visitor-identifier",
"fraud-detection",
"browser",
"signature",
"canvas",
"webgl",
"audio",
"fonts",
"plugins",
"user-agent",
"timezone",
"screen",
"resolution",
"language",
"platform",
"os",
"cpu"
],
"author": "Stlt.io",
"license": "ISC",

@@ -13,0 +35,0 @@ "dependencies": {

@@ -6,1 +6,30 @@ # Stlt - Stealth

(work in progress)
## How to use
```
import stealth from '@stltio/stealth'
const result = await stealth()
const {
local: {},
remote: {},
id: 'abc...xyz',
ms: 491
} = result
```
## Use in ReactJs
```
import stealth from '@stltio/stealth'
const [data, setData] = useState({ local: {}, remote: {}, id: '', ms: 0 })
useEffect(() => {
const init = async () => {
const s = await stealth()
setData(s)
}
init()
}, [])
```

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