All Projects → ahmadnassri → metalsmith-request

ahmadnassri / metalsmith-request

Licence: MIT license
Metalsmith plugin to grab content from the web and expose the results to metadata

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to metalsmith-request

metalsmith-imagemin
Metalsmith plugin to minify images
Stars: ✭ 17 (+41.67%)
Mutual labels:  lib, metalsmith
metalsmith-paths
Metalsmith plugin that adds file path values to metadata
Stars: ✭ 19 (+58.33%)
Mutual labels:  lib, metalsmith
Math Engine
Mathematical expression parsing and calculation engine library. 数学表达式解析计算引擎库
Stars: ✭ 123 (+925%)
Mutual labels:  lib
gostreamer
Go example that uses channels to build an execution pipeline
Stars: ✭ 75 (+525%)
Mutual labels:  lib
impromptu.nvim
Create prompts fast and easy
Stars: ✭ 39 (+225%)
Mutual labels:  lib
Notion Js
🤯 Notion API
Stars: ✭ 136 (+1033.33%)
Mutual labels:  lib
AltiumLibrary
Useful Altium pcb library (3D)
Stars: ✭ 33 (+175%)
Mutual labels:  lib
Yamaha Nodejs
A node module to control your yamaha receiver
Stars: ✭ 103 (+758.33%)
Mutual labels:  lib
epub-parser
A powerful yet easy-to-use epub parser
Stars: ✭ 103 (+758.33%)
Mutual labels:  lib
rawhttp
Raw HTTP client in Go for complete request control and customization.
Stars: ✭ 100 (+733.33%)
Mutual labels:  lib
Mtproto Core
Telegram API JS (MTProto) client library for browser and nodejs
Stars: ✭ 242 (+1916.67%)
Mutual labels:  lib
React Scoped Css
CSS encapsulation solution for React
Stars: ✭ 214 (+1683.33%)
Mutual labels:  lib
tgcalls
Voice chats, private incoming and outgoing calls in Telegram for Developers
Stars: ✭ 408 (+3300%)
Mutual labels:  lib
Vue Loaders
Vue + loaders.css
Stars: ✭ 127 (+958.33%)
Mutual labels:  lib
telegram
Golang Telegram Bot API
Stars: ✭ 13 (+8.33%)
Mutual labels:  lib
Dtkwidget
Deepin Toolkit, widget module for DDE look and feel
Stars: ✭ 112 (+833.33%)
Mutual labels:  lib
Stdlib
✨ Standard library for JavaScript and Node.js. ✨
Stars: ✭ 2,749 (+22808.33%)
Mutual labels:  lib
Mal4J
Java wrapper for the official MyAnimeList API
Stars: ✭ 23 (+91.67%)
Mutual labels:  lib
ssh
golang ssh lib 远程执行命令,文件上传下载 模仿rsync和cp
Stars: ✭ 29 (+141.67%)
Mutual labels:  lib
SunriseSunset
Java utility to calculate the time of sunrise and sunset for a given location.
Stars: ✭ 42 (+250%)
Mutual labels:  lib

Meatsmith Request

License version Build Status

Metalsmith plugin to grab content from the web and expose the results to metadata.

uses got under the hood to make HTTP calls.

Install

npm install metalsmith-request

API

Pass targets to the plugin with the use method:

const metalsmith = new Metalsmith(__dirname)
  .use(request({
    foo: 'http://domain.com/foo'
  }))

You can also pass options as the second argument to use with the got module

const metalsmith = new Metalsmith(__dirname)
  .use(request(
    {
      foo: 'http://domain.com/foo.json'
    },
    {
      json: true
    }
  ))

CLI

You can also use the plugin with the Metalsmith CLI by adding a key to your metalsmith.json file:

{
  "plugins": {
    "metalsmith-request": {
      "foo": "http://domain.com/foo.json"
    }
  }
}

Author: Ahmad Nassri • Github: @ahmadnassri • Twitter: @AhmadNassri

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].