Catalog npm
Back to packageRELEASE DETAILS

0.1.0

npm

3pc

Third party web content database

3pccdnwebperf
Published29 Sept 2015
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

3pc

Third party web content database

What is it?

3pc is meant to be a data-provider of CDN and 3rd party tracking services list.

Inspired by this PerfPlanet article.

Usage

3pc is built as nodejs module:

npm install 3pc

It provides "raw" data and some helper functions:

var thirdParty = require('3pc');

// check if given URL is provided via Content Delivery Network
console.log(thirdParty.cdn.matchByUrl('http://example.com/foo.js'));
false

console.log(thirdParty.cdn.matchByUrl('http://vignette3.wikia.nocookie.net/nordycka/images/e/ee/Tj%C3%B8rnuv%C3%ADk.jpg/revision/latest/scale-to-width-down/640?cb=20150904165805&path-prefix=pl'));
Fastly

// check if given URL is not a tracking code
console.log(thirdParty.trackers.matchByUrl('http://edge.quantserve.com/quant.js'));
Quantcast

Data sources

3pc is currently using the following data sources:

These sources are parsed and the result is stored in ./db directory by running a Python script:

make generate

So this database can be used by any technology that can read and parse JSON-encoded files.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
leche
Environment
{
  "local_name": "leche",
  "alias": false,
  "peer_metadata": null
}
^2.1.1development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^2.3.3development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "dc8ced6d598f36ae4db6ea77e6fed377940e745c",
  "tarball": "https://registry.npmjs.org/3pc/-/3pc-0.1.0.tgz",
  "integrity": "sha512-KrZ37gm72gGW9VAgcQ/IP1YkGuH9RjAHZkKdeB+d0A/DUMVHE+axyindSwuVFmLCAQQM1vIll/JYpL4CxqHdOw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIAecl5Xceq5PxnfB4K8M/KAZx0jXcRO1XdGVRakHn7JdAiBK4IJl0zCabhJHObgh9JhNFTQ4EX5pSbMFfv44fIrPLg=="
    }
  ]
}

Repository

PENDING
macbre/3pc

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a9390b2ca5f5bd6e5f82c007b2dc836efeb08cddf644c9e058964d7e89fca83f

Other collected versions

View all collected versions →