1.0.2 • Published 3 years ago

@kabegami-new-page/kanahei.js v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

@kabegami-new-page/kanahei.js

npm

Part of Kabegami New Page chrome extension.

Installation

npm install @kabegami-new-page/kanahei.js

Usage

import { getOne } from '@kabegami-new-page/kanahei.js'

getOne().then(wallpaper => console.log(wallpaper))

/* 
 => { title: '湖のほとりの小鳥2',
  images:
   [ 'http://www.kanahei.com/upload/2016/06/2_k_1280_1024.jpg',
     'http://www.kanahei.com/upload/2016/06/2_k_1600_1200.jpg',
     'http://www.kanahei.com/upload/2016/06/2_k_1920_1200.jpg' ] }
 */

CLI Tool

Install this package globally will add kanahei command. Run the command, and your wallpaper will be changed to kanahe's random wallpaper.

npm install -g @kabegami-new-page/kanahei.js
kanahei

License

MIT