Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fprocjs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fprocjs

A JS framework for the fastest process manager written in C++ and Rust, Fproc.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Fprocjs

A JS framework for the fastest process manager written in C++ and Rust, Fproc.

How to install fprocjs

npm install fprocjs

Quick setup

const FPROC = require("fprocjs");

const fproc = new FPROC(async () => {
    // Run when ready

    // Run the test file with an ID of 0 (first process)
    console.log(await fproc.run("node run.js", 0));

    // Get all running processes
    console.log(await fproc.list());

    // Stop the first process
    console.log(await fproc.stop(0));

    // Restart the first process
    console.log(await fproc.restart(0));

    // Delete the first process
    console.log(await fproc.delete(0));

    // Closes the session with fproc (If you don't do this Node will run until you do)
    fproc.finish();
});

Look at src/fproc.js for all functions and full documentation

How to install fproc

Go to https://github.com/BlueCannonBall/fproc/blob/main/README.md for instructions

Keywords

FAQs

Package last updated on 04 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc