An open API service indexing awesome lists of open source software.

https://github.com/sourceplusplus/probe-nodejs

Live coding probe for Node.js applications
https://github.com/sourceplusplus/probe-nodejs

nodejs

Last synced: 9 months ago
JSON representation

Live coding probe for Node.js applications

Awesome Lists containing this project

README

          

# ![](https://github.com/sourceplusplus/sourceplusplus/blob/master/.github/media/sourcepp_logo.svg)

[![License](https://img.shields.io/github/license/sourceplusplus/probe-python)](LICENSE)
[![NPM](https://img.shields.io/npm/v/sourceplusplus?color=blue)](https://www.npmjs.com/package/sourceplusplus)
[![E2E](https://github.com/sourceplusplus/probe-nodejs/actions/workflows/build.yml/badge.svg)](https://github.com/sourceplusplus/probe-nodejs/actions/workflows/build.yml)

# What is this?

> Note: This project is a work in progress. Not all features are implemented yet.

This project provides Node.js support to the [Source++](https://github.com/sourceplusplus/sourceplusplus) open-source live coding platform.

# Usage

- `npm i sourceplusplus`

## Attach
### Plain javascript
```javascript
const SourcePlusPlus = require("sourceplusplus");
SourcePlusPlus.start();
```

### Typescript
```node
import SorcePlusPlus from "sourceplusplus";
SourcePlusPlus.start();
```

## Config

Add `spp-probe.yml` to working directory (or set `SPP_PROBE_CONFIG_FILE` env):

```yml
spp:
platform_host: "localhost"
skywalking:
collector:
backend_service: "localhost:11800"
```