Socket
Socket
Sign inDemoInstall

pipitit-node

Package Overview
Dependencies
47
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "pipitit-node",
"version": "1.0.0",
"version": "1.0.1",
"description": "Pipitit NodeJS SDK.",

@@ -5,0 +5,0 @@ "main": "lib/pipitit.js",

@@ -18,3 +18,4 @@ **Pipitit**

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
npm install pipitit
npm install pipitit-node
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

@@ -30,5 +31,32 @@ ## Dependencies

**Usage**
var pipitit = require('pipitit');
## Initialisation
var pipitit = require('pipitit-node');
var pipit = pipitit.init({authId: '123', auth_secret: '123'});
var pipit = pipitit.init({
authId: '<your AUTH ID>',
auth_secret: '<your AUTH SECRET>'
});
## Usage
pipit.app_create({name: 'test_app'}, function(status, response){
if (status != 200 ){
console.log('ERROR! Didn't create application.');
console.log('Status:', status);
console.log('Response:', response);
} else {
console.log('YEA! Successfully created application.');
console.log('Status:', status);
console.log('Response:', response);
}
})
## Tests
To run tests:
`npm test`
or
`mocha --reporter spec`
## License
-------
*pipitit-node* is licensed under the MIT License.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc