Socket
Socket
Sign inDemoInstall

globalsign

Package Overview
Dependencies
64
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    globalsign

GLOBALSIGN API node client.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
2.85 MB
Created
Weekly downloads
 

Readme

Source

GLOBALSIGN Node Module

GLOBALSIGN API Node client.

Installation

npm install globalsign

Usage

First you need to instantiate it.


var GlobalSign = require('globalsign');

var config = {
  dev: process.env.GSIGN_DEV || false,
  username: process.env.GSIGN_USER,
  password: process.env.GSIGN_PASSWORD,
};

var globalsignsexample = new GlobalSign(config);

Using the created client, call the methods you need, example:




globalsignsexample.on('ready', function() {
  globalsignsexample.getAccountInfo(function(err, data) {
    if (err) { ... }
    else { ... }
  };

  var csr = '...';
  var ptype = 'xpto';
  globalsignsexample.asslDecodeCSR(csr, ptype, function(err, data) {
    if (err) { ... }
    else { ... }
  };

}

Examples

Check the examples folder for more specific use cases examples.

License

Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:

http://www.apache.org/licenses/LICENSE-2.0.html

Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.

Keywords

FAQs

Last updated on 07 May 2015

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc