Socket
Socket
Sign inDemoInstall

adventar

Package Overview
Dependencies
41
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    adventar

Retrieve articles from adventar


Version published
Maintainers
1
Install size
4.97 MB
Created

Readme

Source

adventar Build Status

Retrieve articles from adventar

Install

$ npm install --save adventar

Usage

const adventar = require('adventar');

adventar('1536').then(res => {
	const {date, user, title, url} = res[2];
	console.log(`今日(${date})は${user}さんの「${title}」です\n${url}`);
});
// => 今日(12/03)はatsuo1203さんの「岩井研残留日誌 - あつおの日常~あつおと過ごした365日~」です
// => http://atsuocps.hatenablog.com/entry/zanryuDiary

API

adventar(input)

Returns an array of information on the advent calendar. The content is date user title url.

input

Type: string

url or id

License

MIT © akameco

Keywords

FAQs

Last updated on 21 Dec 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc