Skip to content
A JSON array of one-word, english prepositions
Shell JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Makefile
README.md
getprepositions.sh
package.json
prepositions.json
stringify.js

README.md

prepositions

A JSON array of one-word, english prepositions

Usage

var prepositions = require('prepositions');
console.dir(prepositions);

yields

[
  "a",
  "abaft",
  "aboard",
  "about",
  "above",
  "absent",
  ...
]

How was this list generated?

In the Makefile you'll see a line like this:

./getprepositions.sh | ./stringify.js > $(FILE)

The first command scrapes wikipedia for the list, and outputs the results separated by newlines. The second command creates the JSON array and outputs it to stdout, which then gets redirected into prepositions.json

Installation

npm install prepositions

License

MIT

Something went wrong with that request. Please try again.