🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@turbasen/db-mongo

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turbasen/db-mongo

Internal mongoDB wrapper for Nasjonal Turbase API

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

@turbasen/db-mongo

Build status Codacy grade Codacy coverage NPM downloads NPM version Node version Dependency status

Internal mongoDB wrapper for Nasjonal Turbase API.

Getting started

Download Docker for Mac or Windows.

Run in this directory:

$ docker-compose up

Docker is now watching for changes and will run the test suite automatically.

Usage

Connects automatically to mongoDB using the following configurations:

  • MONGO_URI
  • MONGO_PORT_27017_TCP_ADDR and MONGO_PORT_27017_TCP_PORT
  • Defaults to mongo and 27017
const mongo = require('mongo');

mongo.on('ready', () => {
  console.log('mongoDB is ready!');
});

MIT lisenced

Keywords

nasjonal turbase

FAQs

Package last updated on 19 Jul 2016

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