shortloop-node-test
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published
# Shortloop SDK for Node `shortloop-node-test` provides client implementation of Shortloop SDK for express based Node applications. ## Requirements Current SDK version requires Node v16 or higher. ## Installation `shortloop-node-test` can be installed like any other npm package through `npm`: ```console $ npm install shortloop-node-test ``` ## Usage 1. Once the package is installed, you can import the library using import or require approach: ```import ShortloopSDK from 'shortloop-node-test'```
OR
```const ShortloopSDK = require('shortloop-node-test')``` 2. Initialize the sdk Example: ```Node const app = express(); const sdk = ShortloopSDK.init({ url: 'http://localhost:8080', applicationName: 'test-service-node', loggingEnabled: true (optional), }); app.use(express.json()); //any other middlewares app.use(sdk.capture()); ``` # s h o r t l o o p - s d k - n o d e

Dependents (0)

Package Sidebar

Install

npm i shortloop-node-test

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

95.9 kB

Total Files

76

Last publish

Collaborators

  • reacter