Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bahamas10/prepositions
A JSON array of one-word, english prepositions
https://github.com/bahamas10/prepositions
Last synced: about 2 months ago
JSON representation
A JSON array of one-word, english prepositions
- Host: GitHub
- URL: https://github.com/bahamas10/prepositions
- Owner: bahamas10
- Created: 2013-03-12T08:10:29.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T08:11:38.000Z (almost 12 years ago)
- Last Synced: 2024-10-14T05:55:43.912Z (2 months ago)
- Language: Shell
- Size: 109 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
prepositions
============A JSON array of one-word, english prepositions
Usage
-----``` js
var prepositions = require('prepositions');
console.dir(prepositions);
```yields
``` json
[
"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