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

@danielruss/soccernet

v1.0.11

Published

used for NPM packaging of SOCcerNET

Downloads

25

Readme

SOCcerNET

SOCcerNET is an occupational autocoding classifier build on huggingface text emedding model.

Using SOCcerNET in your application

import SOCcerNET via NPM

npm install @danielruss/soccernet

importing SOCcerNET via CDN

<script>
import * as soccerNet from "https://cdn.jsdelivr.net/npm/@danielruss/soccernet@latest/+esm"
</script>

Running SOCcerNET

In order to run SOCcerNET, you first must configure the version. Under the hood, SOCcerNET is SOCcer v3, so to configure with version 3.0.0.

let config = soccerNet.configureSOCcerNet("3.0.0");

Since this is the only available version, it is the default and can be left out.

let config = soccerNet.configureSOCcerNet();

After configuration, the job descriptions can be coded. SOCcerNET expect an input object that looks like:

{
    JobTitle: plumber,
    JobTask: fix leaks in homes
    soc 1980: 645
}

The results are an array where each entries is a job description. Since there is only 1 job in the example there is only one job in the results. An id will be added because in this example one is not given.

<script>
import * as soccerNet from "https://cdn.jsdelivr.net/npm/@danielruss/soccernet@latest/+esm"

const inputObject = {
    JobTitle: "plumber",
    JobTask: "fix leaks in homes",
    soc1980: "645"
}

let config = await soccerNet.configureSOCcerNet();
let results = await soccerNet.runSOCcerPipeline(inputObject,config)
</script>

If you are interested in running this in the developers panel, you can use dynamic imports. Keep in mind that the first time you run this the embedding model is downloaded and cached. This will take some time. After that, it will be almost instantaneous.

const soccerNet=await import("https://cdn.jsdelivr.net/npm/@danielruss/soccernet@latest/+esm")

const inputObject = {
    JobTitle: "plumber",
    JobTask: "fix leaks in homes",
    soc1980: "645"
}

let config = await soccerNet.configureSOCcerNet();
let results = await soccerNet.runSOCcerPipeline(inputObject,config)

The results are:

[{
    Id: "row-1"
    JobTask: "fix leaks in homes"
    JobTitle: "plumber"
    score:[0.9806628823280334,0.012618162669241428,0.007014638744294643,0.006607372779399157,0.006477011367678642,0.005545503459870815,0.002995521994307637,0.001819823868572712,0.001284098019823432,0.0007829691166989505]
    soc1980: "645",
    soc2010: ["47-2152","47-2061","47-1011","49-9099","47-3015","49-9071","47-4099","47-2031","37-2012","37-2011"],
    title:["Plumbers, Pipefitters, and Steamfitters","Construction Laborers","First-Line Supervisors of Construction Trades and Extraction Workers","Installation, Maintenance, and Repair Workers, All Other", "Helpers--Pipelayers, Plumbers, Pipefitters, and Steamfitters","Maintenance and Repair Workers, General","Construction and Related Workers, All Other","Carpenters","Maids and Housekeeping Cleaners","Janitors and Cleaners, Except Maids and Housekeeping Cleaners"]
}]

Take a look at provide a more complicated file upload/download version with progress here is the html and the javascript that drives it.