New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gisce/powerp.js

Package Overview
Dependencies
Maintainers
0
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gisce/powerp.js

PowERP Javascript Client

  • 2.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

PowERP.js

A TypeScript implementation for a PowERP client.

Install

For the moment you can install this library adding the specific git repository in your package.json dependencies, like this:

package.json

{
  // ...
  "dependencies": {
    // ...
    "powerp.js": "git://github.com/gisce/powerp.js.git#feature/typescript"
  }
}

Usage

import { Client } from "powerp.js";

// ...

const c = new Client({
    host: process.env.ERP_HOST!,
    database: process.env.ERP_DB!,
});

const token = await c.loginAndGetToken({
    user: process.env.ERP_USER!,
    password: process.env.ERP_PASSWORD!,
});

Running tests

First adjust your .env file in order to fulfill the proper host, database and auth details. You can get an example copy from .env.sample.

Then install the dependencies with:

$ npm install

And therefore you can run the tests using:

$ npm test

Publishing new versions of the library

If you make any changes in this library and want to use them in your project, you must build it in order to get the updated version:

$ npm run build

This will erase your dist/ folder and rebuild the library in it. You must push these updated dist/ files into git.

Then in your project you can simply:

$ npm update powerp.js

TODO

[ ] Implement pending methods from the old version [ ] Improve the way to publish this library. NPM public registry?

Keywords

FAQs

Package last updated on 18 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc