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

@guivic/fabric-node

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guivic/fabric-node

node.js helpers to create quickly micro services and API

  • 0.0.20
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

fabric-node

node.js helpers to create quickly micro services and API

Microservice

(async function () {
	try {
		const PORT = process.env.PORT || 3000;
		const microService = new MicroService({
			port:       PORT, // default: 3000
			initMethod: () => { // default: () => {}
				console.log('code runned before starting the microservice');
			},
			bodyParserJSON: true, // body parser configured to accept json (default: false)
			fileUpload:     true, // to accept file upload (default: false)
			sentryDSN:      'SENTRY_KEY', // to configure sentry with the microservice (default: null)
		});

		await microService.start();
		console(`microservice listening on port ${PORT}`);
	} catch (error) {
		console.log(error.message);
	}
}());

Keywords

FAQs

Package last updated on 13 Nov 2018

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