JSPM

prepositions

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q25092F

A JSON array of one-word, english prepositions

Package Exports

  • prepositions

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (prepositions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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