UNPKG
pet
Version:
latest (1.0.1)
1.0.1
1.0.0
0.0.2
catgirl petting cli
github.com/stawberri/pet
stawberri/pet
pet
/
lib
/
index.js
13 lines
(11 loc)
•
250 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
_ =
require
(
'./_'
)
const
Data
= _
`data`
, actions = _
`actions`
exports
=
module
.
exports
= $ => {
let
data =
new
Data
($)
return
Promise
.
resolve
(actions.
status
(data)) .
then
(
output
=>
{ data.
write
()
return
output }) }