open-index/open-npm huggingface dataset:
npm package: @jitsu/sdk-js
Description: Jitsu JavaScript SDK (more at http://jitsu.com/docs/js-sdk)
Author: Jitsu Dev
Latest version: 3.1.5
Deprecated: This package is for legacy Jitsu Classic version. For latest version of Jitsu please use @jitsu/js

# Jitsu JavaScript SDK (jitsu.js)

Jitsu.js is a JavaScript SDK for [Jitsu](https://jitsu.com). Please, see
main [Jitsu JavaScript integration docs](https://jitsu.com/docs/sending-data/js-sdk) on the website.

## Questions?

### [Join Jitsu Slack](https://jitsu.com/slack)

## Links

- [Official SDK Docs](https://jitsu.com/docs/sending-data/js-sdk)

## Maintainers Guide

This section is indented only for package maintainers.

### Building and local debug

 * _**ATTENTION**_: Use `yarn` for everything except publishing
 * To spin off a local development server run `yarn devserver`, then open [http://localhost:8081](http://localhost:8081)
   * The server listens to all changes to src and rebuilds npm and `lib.js` automatically. Open test cases HTML files to see
     jitsu in action
     * http://localhost:8081/test-case/embed.html - embedded Jitsu
     * http://localhost:8081/test-case/embed-no-init.html - Jitsu without automatic initialization
     * http://localhost:8081/test-case/segment-intercept.html - test segment interception
 * `yarn test` runs [Playwright](https://playwright.dev/) test
 * `yarn build` builds both npm package and `lib.js` browser bundle
 * `npm publish --public` to publish the package (change version in `package.json` manually). You need to run `npm login` with your personal
npmjs account beforehand (make sure you have access to Jitsu team)

### Publishing new version

 * Login with your *personal* credentials with `npm login`
 * Run `yarn install && yarn build && yarn test && npm publish --access public`
npm package: @jitsu/segment-transform
Description: Jitsu SDK-based transform that implements compatibility with Segment. Jitsu event is transformed to a JSON object that emulates Segment destination table
Author: Jitsu Dev Team
Latest version: 0.7.5

# `segment-transform`

> TODO: description

## Usage

```
const segmentTransform = require('segment-transform');

// TODO: DEMONSTRATE API
```
npm package: @jitsusama/config-env-js
Description: A simple system environment configuration library that meets a narrow set of needs.
Latest version: 1.0.0-rc.7

# @jitsusama/config-env-js

![last commit badge](https://img.shields.io/github/last-commit/Jitsusama/config-env-js)
![package.json version badge](https://img.shields.io/github/package-json/v/jitsusama/config-env-js)
[![license badge](https://img.shields.io/npm/l/@jitsusama/config-env-js)](./LICENSE)
![vulnerabilities badge](https://img.shields.io/snyk/vulnerabilities/npm/@jitsusama/config-env-js)

This is a very simple system environment configuration library that currently
only handles Node.JS apps. Its use cases are rather limited and are currently
documented in this repository's [test cases](./src/index.test.js).

## Installation

You can install this module
via [NPM](https://npmjs.com/package/@jitsusama/config-env-js)
with `npm install @jitsusama/config-env-js`.

## Contributing

Please note that this project is released with
a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this
project you agree to abide by its terms.
npm package: @jitsusama/http-client-js
Description: A simple HTTP client that meets a narrow set of needs.
Latest version: 1.0.0-rc.12

# @jitsusama/http-client-js

![last commit badge](https://img.shields.io/github/last-commit/Jitsusama/http-client-js)
![package.json version badge](https://img.shields.io/github/package-json/v/jitsusama/http-client-js)
[![license badge](https://img.shields.io/npm/l/@jitsusama/http-client-js)](./LICENSE)
![vulnerabilities badge](https://img.shields.io/snyk/vulnerabilities/npm/@jitsusama/http-client-js)

This is a very simple HTTP client library that currently only handles Node.JS
apps. Its use cases are rather limited and are currently documented in this
repository's test cases.

## Installation

You can install this module
via [NPM](https://npmjs.com/package/@jitsusama/http-client-js)
with `npm install @jitsusama/http-client-js`.

## Contributing

Please note that this project is released with
a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this
project you agree to abide by its terms.
npm package: @jitsusama/http-server-js
Description: A simple HTTP server that meets a narrow set of needs.
Latest version: 1.0.0-rc.4

# @jitsusama/http-server-js

![last commit badge](https://img.shields.io/github/last-commit/jitsusama/http-server-js)
![package.json version badge](https://img.shields.io/github/package-json/v/jitsusama/http-server-js)
[![license badge](https://img.shields.io/npm/l/@jitsusama/http-server-js)](./LICENSE)
![vulnerabilities badge](https://img.shields.io/snyk/vulnerabilities/npm/@jitsusama/http-server-js)

This is a very simple HTTP server library that currently only handles Node.JS
apps. Its use cases are rather limited and are currently documented in this
repository's test cases.

## Installation

You can install this module
via [NPM](https://npmjs.com/package/@jitsusama/http-server-js)
with `npm install @jitsusama/http-server-js`.

## Contributing

Please note that this project is released with
a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this
project you agree to abide by its terms.
npm package: @jitsusama/logging-js
Description: A simple logging client that meets a narrow set of needs.
Latest version: 1.0.0-rc.11

# @jitsusama/logging-js

![last commit badge](https://img.shields.io/github/last-commit/jitsusama/logging-js)
![package.json version badge](https://img.shields.io/github/package-json/v/jitsusama/logging-js)
[![license badge](https://img.shields.io/npm/l/@jitsusama/logging-js)](./LICENSE)
![vulnerabilities badge](https://img.shields.io/snyk/vulnerabilities/npm/@jitsusama/logging-js)

This is a very simple logging library that handles Node.JS or browser apps. Its use cases are rather limited and are
currently documented in this repository's [json.js](lib/json.js) and [text.js](lib/text.js) files.

## Installation

You can install this module via [NPM](https://npmjs.com/package/@jitsusama/logging-js)
with `npm install @jitsusama/logging-js`.

## Usage

```javascript
const logging = require("@jitsusama/logging-js");
const logger = logging.getLogger("some.name");
logger.info("hello %s", "world");
```

The usage above will default to simplified text output when imported by a website bundler, or as a JSON string when
imported from a Node.JS application.

You can override the default output handling by specifically importing the type you wish:

```javascript
const textLogging = require("@jitsusama/logging-js/lib/text.js");
const jsonLogging = require("@jitsusama/logging-js/lib/json.js");
```

## Contributing

Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in
this project you agree to abide by its terms.