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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@barkleyrei/lingerprint

v1.3.2

Published

A drop-in API for creating a pseudo-unique browser fingerprint for lightweight visitor analytics.

Downloads

5

Readme

Lingerprint

Gitter Node.js CI

Codacy Badge

Dependabot Status

lingerprint is a Javascript library that will examine a browser and build a visitor fingerprint. This will not include any personally identifiable information, while this can be used to uniquely identify a browser--it cannot identify individual users that may be using multiple browsers.

Usage

Include the file in your HTML page

<!doctype html>
<head>
  <meta charset="utf-8">
  <title>lingerprintJS Test page</title>
</head>
<body>
  <script src="dist/lingerprint.js"></script>
</body>
</html>

Build the fingerprint

const fingerprint = new lingerprint();
setTimeout(() => {
  console.info(fingerprint.Fingerprint);
}, 10);

Get Individual values

const fingerprint = new lingerprint();
setTimeout(() => {
  console.info(fingerprint.Components);
}, 10);

Example output

136724f40ce66116891d46d8d737ae417105243d6b2d4972b13649fc4442cf55e76075691c9c9ff695387c8447c7dfdf60fd270d3378a1a865862301b63e968f47ef22482af9847c186e0a062df9d7c99ad03e5d89c29db042c9610c551512208ad898b4bac8f020fafcf2a450e872876a75add73ff4b99fb529de4ee495f3f031e6bad65742f913d44d4fe9444bad25a53d0c4d9902cfd518feaab5c09a66429888e4b2cb58bf8f6f551b1f32d4547a3a2348d4c2adf88f68fed222074f1581132f9c5292b8b72777d9eb223ef6cf75222ad409fc61a00f3468e4cc66bfa015a0df669137f0f1aeee78e776e031d9151bd31c60aa3dabe085218ea52d072174d4cba005e23fbad9e233889425d6d7a58c000b31d629a34e313bdc89dbba0a302820700d671ecb9573c5ab0ebbb43979e5bf47932a842c678a4e1076aa0543518e8a64e19e3d593d280669054465765cb39392a1c6f4c06822c753a63243e81d7d17a9bd280c546a2b501336b5d48c422036e495f0b5d37b48fc98881d176d679cf4e4c7539e438e3251082cd9dadf3916e080b0840a9371a1d7f257d3580f40f2d96a181a2dc9bd3fb5072f056a815d9fed0378cfdcf8d280a138cdc8bd178b071350854144b8f2cc28e99078b3544b860fb08dae7543dfeff8e2886d80fedf816c5d0a2953199791ae128d8b6f36476e7733bcb29fe2e5cde88a9f2e5f1b7419e01b5e539cf7ac996a9b66ebb5e305