JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q45420F
  • License MIT

Simple Multi-thread launcher in JavaScript

Package Exports

  • siljs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (siljs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sil.js

SImple muLti-thread launcher in JavaScript, SIL.

Simple Multi-threading Launcher for Web. Simpler, and Faster.

What is the origin of name?

It means thread and also light as "Sil". Sil (Korean: 실) means "thread" in English.1

How to load?

on webpack-base Project:

  /* ... */
  import SIL from "sil.js" /* ES6 */
  const SIL = require("sil.js").default; /* CommonJS */ 
  
  const myThread = SIL.newThread((a) => {console.log(a+a**2)}, "WorkingAnt", [15]);
  /* ... */ 

Guides

https://github.com/timtermtube/sil.js/wiki