New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

x-postpress

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

x-postpress

x-postpress ======

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
decreased by-68.18%
Maintainers
1
Weekly downloads
 
Created
Source

x-postpress

About

  • x-postpress is a collection of Web Components using lit-html and LitElement

  • Fetches WordPress posts from the REST API based on attributes set on the element, or parameters in the query string

  • Built to support Internet Explorer 11

Usage

  • Test the provided element
  • Using the browser's devtools, change the apiUrl attribute within the x-postpress tag to render another REST API endpoint:
    <x-postpress
      apiUrl="https://content.example.com/wp-json/wp/v2/posts"
      siteUrl="https://example.com/"
    ></x-postpress>
    
  • Alternatively, override parameters by including them in the query string (example):
    <a href="https://kherrick.github.io/x-postpress/?apiUrl=https://another.content.example.com/wp-json/wp/v2/posts&siteUrl=https://another.example.com">another.example.com</a>
    

FAQs

Package last updated on 27 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc