Categorygithub.com/KarpelesLab/nodejs
repositorypackage
0.1.5
Repository: https://github.com/karpeleslab/nodejs.git
Documentation: pkg.go.dev

# README

GoDoc

nodejs tools for Go

This contains a few nice tools for using nodejs in go

Usage

First you need a nodejs factory:

factory, err := nodejs.New()
if err != nil {
    // handle error: nodejs could not be found or didn't run
}

You can then start processes directly with factory.New() or use factory.NewPool(0, 0) to get a pool of pre-initialized nodejs instances.