martinandert / drugs

A list of pharmaceuticals. Consumable as Node.js package or Ruby gem.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

drugs

Gem Version npm version Dependency Status

A list of pharmaceuticals. Useful for fighting contact form spam etc.

Installation & Usage

As a Node.js package

Using npm:

$ npm install --save drugs

or using yarn:

$ yarn add drugs

Then, in your code:

var drugs = require('drugs');

console.log(drugs)
//=> ['abilify', 'advil', 'albuterol', ...]

As a Ruby gem

Add this line to your application's Gemfile:

gem 'drugs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install drugs

Then, in your code:

require "drugs"

include Drugs
puts drugs #=> ["abilify", "advil", "albuterol", ...]

# Or without including the module
Drugs.drugs #=> ["abilify", "advil", "albuterol", ...]

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/martinandert/drugs.

License

The gem is available as open source under the terms of the MIT License.

About

A list of pharmaceuticals. Consumable as Node.js package or Ruby gem.

License:MIT License


Languages

Language:Ruby 87.0%Language:Makefile 10.9%Language:JavaScript 2.1%