Skip to content

Commit

Permalink
uncancel the README
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Sep 23, 2017
1 parent 7ee6397 commit c4e4e3a
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
# [Never mind](https://github.com/chee/jishon/issues/1)
# jishon

search jisho.org from node and the command line.

~~# jishon~~
## examples

~~search jisho.org from node and the command line.~~

~~## examples~~

~~there is a promise interface~~
there is a promise interface

```js
const jishon = require('jishon')
Expand All @@ -25,7 +22,7 @@ const jishon = require('jishon')
// or jishon('tea').then(console.log)
```

~~there is also a callback interface~~
there is also a callback interface

```js
jishon('', (error, response) => {
Expand All @@ -36,24 +33,28 @@ jishon('犬', (error, response) => {
})
```

~~## screen photographs of action~~
## screen photographs of action

~~search in english:~~
search in english:

![search in english](https://snake.dog/s/povoc/buqik.png)

~~search in japanese:~~
search in japanese:

![search in japanese](https://snake.dog/s/ratad/rixar.png)

~~note that the bottom `english` meaning is japanese. the dom structure on jishon~~
~~isn't great. i'll improve that in later~~
note that the bottom `english` meaning is japanese. the dom structure on jishon
isn't great. i'll improve that in later

ya but you can pipe it through `jq` for nice

~~ya but you can pipe it through `jq` for nice~~
## notes

~~## notes~~
there is an api, but it doesn't provide everything i need for the projects i'm
building with this, so now there's this. it scrapes the websites. fragile as
fuck

~~this will only work until `jisho.org` change their layout, but for as long as~~
~~i'm using it in my personal projects it'll stay up to date.~~
this will only work until `jisho.org` change their layout, but for as long as
i'm using it in my personal projects it'll stay up to date.

~~good luck everyone~~
good luck everyone

0 comments on commit c4e4e3a

Please sign in to comment.