Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openssl-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openssl-wrapper - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

3

lib/index.js

@@ -6,2 +6,3 @@ 'use strict';

});
exports.exec = undefined;
exports.default = exec;

@@ -97,2 +98,4 @@

}
exports.exec = exec;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "openssl-wrapper",
"version": "0.3.0",
"version": "0.3.1",
"description": "NodeJS OpenSSL wrapper",

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

@@ -1,2 +0,2 @@

# OpenSLL Wrapper
# OpenSSL Wrapper

@@ -14,6 +14,6 @@ [![project status](https://img.shields.io/badge/status-stable-green.svg?style=flat)](https://github.com/mgcrea/node-openssl-wrapper) [![license](https://img.shields.io/github/license/mgcrea/node-openssl-wrapper.svg?style=flat)](https://tldrlegal.com/license/mit-license) [![build status](http://img.shields.io/travis/mgcrea/node-openssl-wrapper/master.svg?style=flat)](http://travis-ci.org/mgcrea/node-openssl-wrapper) [![dependencies status](https://img.shields.io/david/mgcrea/node-openssl-wrapper.svg?style=flat)](https://david-dm.org/mgcrea/node-openssl-wrapper) [![devDependencies status](https://img.shields.io/david/dev/mgcrea/node-openssl-wrapper.svg?style=flat)](https://david-dm.org/mgcrea/node-openssl-wrapper#info=devDependencies) [![coverage status](http://img.shields.io/codeclimate/coverage/github/mgcrea/node-openssl-wrapper.svg?style=flat)](https://codeclimate.com/github/mgcrea/node-openssl-wrapper) [![climate status](https://img.shields.io/codeclimate/github/mgcrea/node-openssl-wrapper.svg?style=flat)](https://codeclimate.com/github/mgcrea/node-openssl-wrapper)

``` javascript
import openssl from 'openssl-wrapper';
import {exec as openssl} from 'openssl-wrapper';
const password = 'github';
return openssl.exec('genrsa', {des3: true, passout: `pass:${password}`, '2048': false}, function(err, buffer) {
return openssl('genrsa', {des3: true, passout: `pass:${password}`, '2048': false}, function(err, buffer) {
console.log(buffer.toString());

@@ -28,3 +28,3 @@ });

import openssl from 'openssl-wrapper';
const opensslAsync = Promise.promisify(openssl);
const opensslAsync = Promise.promisify(openssl.exec);

@@ -31,0 +31,0 @@ // Extract enveloped data

@@ -86,1 +86,3 @@

}
export {exec};

Sorry, the diff of this file is not supported yet

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