Socket
Socket
Sign inDemoInstall

picard-quotes

Package Overview
Dependencies
3
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    picard-quotes

Quotes from the Legendary Jean-Luc Picard


Version published
Weekly downloads
7
increased by600%
Maintainers
1
Install size
1.77 MB
Created
Weekly downloads
 

Readme

Source

Installation (via GitHub)

$git clone https://github.com/samcus/picard-quotes.git
$cd picard-quotes
$npm install

Run Example

$npm run example

Installation (via NPM)

$npm install -S picard-quotes

Installation (via Docker)

$docker pull samcus/picard-quotes 
$docker images
$docker run -i -t samcus/picard-quotes:latest picard-quotes
# Optionally Play with Build
$docker run -i -t samcus/picard-quotes:latest bash

Usage

const picard = require('picard-quotes');
// All Quotes
picard.quotes((quotes) => {
    if (quotes) console.log(quotes);
});
// Random Quote
picard.quote((quote) => {
    if (quote) console.log(quote);
});
// Specific Quote
picard.quote({number: 1}, (quote) => {
    if (quote) console.log(quote);
});

CLI Usage

$npm i -g picard-quotes
$picard-quotes

# "The line must be drawn here! This far, no farther!" - Jean-Luc Picard

Unit Test

$npm test

Coverage Test

# Terminal Report
$npm run coverage
# Terminal Report and Open HTML Report
$npm run coverage-report

Keywords

FAQs

Last updated on 30 Jul 2017

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