drugs

1.0.8 • Public • Published

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.

Package Sidebar

Install

npm i drugs

Weekly Downloads

9

Version

1.0.8

License

MIT

Last publish

Collaborators

  • martinandert