npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

fraudnetic-agent-v2

v0.0.6

Published

Fraudnetic JS integration library V2

Downloads

419

Readme

🛡️ fraudnetic-agent-v2

fraudnetic-agent-v2 is a lightweight JavaScript SDK that collects browser fingerprint data and returns a secure token used for fraud protection. This token can be attached to every HTTP request to help backend systems detect and prevent bots, abuse, and fraudulent behavior.

✅ This SDK is part of the Fraudnetic Software Suite — an advanced toolkit for fraud detection, behavioral analysis, and secure session tracking.


📦 Installation

Install with npm or yarn:

npm install fraudnetic-agent-v2
# or
yarn add fraudnetic-agent-v2

🚀 Quick Start

Initialize Fraudnetic when your app loads. It returns a secure token you can attach to outgoing HTTP requests.

import fraudnetic from 'fraudnetic-agent-v2';

fraudnetic.init().then((token) => {
  console.log('Fraudnetic initialized');
  console.log('Fraud Token:', token);

  // Example usage with Fetch
  fetch('/api/secure', {
    method: 'POST',
    headers: {
      'X-Fraud-Token': token,
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({ data: 'hello' })
  });
});

🔧 Integration Examples

Angular

import { Component, OnInit } from '@angular/core';
import fraudnetic from 'fraudnetic-agent-v2';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
  ngOnInit() {
    fraudnetic.init().then((token) => {
      console.log('Fraud Token:', token);
      // Attach to HTTP headers in your services
    });
  }
}

React

import React, { useEffect } from 'react';
import fraudnetic from 'fraudnetic-agent-v2';
import axios from 'axios';

export default function App() {
  useEffect(() => {
    fraudnetic.init().then((token) => {
      axios.defaults.headers.common['X-Fraud-Token'] = token;
    });
  }, []);

  return <div>React + Fraudnetic</div>;
}

Vue 3

import { createApp } from 'vue';
import fraudnetic from 'fraudnetic-agent-v2';
import App from './App.vue';
import axios from 'axios';

fraudnetic.init().then((token) => {
  axios.defaults.headers.common['X-Fraud-Token'] = token;
  createApp(App).mount('#app');
});

Plain JavaScript

<script type="module">
  import fraudnetic from 'fraudnetic-agent-v2';

  fraudnetic.init().then((token) => {
    fetch('/api/submit', {
      method: 'POST',
      headers: {
        'X-Fraud-Token': token,
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({ example: 'data' })
    });
  });
</script>

📌 Notes

  • Use any custom header name, like X-Client-Token, X-Secure-ID, or randomized strings.
  • Backend must be configured to read the header and validate the token.

📬 Support

For advanced usage, integration help, or backend verification logic, please contact the Fraudnetic team or your service provider.


📃 License

Fraudnetic Agent SDK License Agreement Version 1.0 – © [2025] Fraudnetic Technologies

This software is the proprietary property of Fraudnetic Technologies and is licensed, not sold.

Permission is hereby granted to use the fraudnetic-agent-v2 SDK strictly within:

  1. The official Fraudnetic SaaS platform, or
  2. Platforms, products, or systems operated by officially licensed partners with written authorization from Fraudnetic Technologies.

Redistribution, sublicensing, modification, reverse engineering, or use of this software outside the above scope is strictly prohibited without express written permission.

This SDK is provided "as is", without warranty of any kind, express or implied.

By installing, copying, or using this software, you agree to be bound by the terms above. Unauthorized use may result in legal action.

For licensing inquiries, please contact: 📩 [email protected]