Socket
Socket
Sign inDemoInstall

tracardi-url-parser

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tracardi-url-parser

The purpose of this plugin is to parse URL and return it.


Maintainers
1

Readme

Url parser plugin

This plugin parses URL and returns it as output.

Configuration

User must provide a path to page URL. By default, path is available at session in context.page.url

{
  "url": "session@context.page.url"
}

Input

This action does not process input payload directly.

Output

Output example for url http://web.address.com/path/index.html?param1=1#hash:

{
  "url": "http://web.address.com/path/index.html?param1=1#hash",
  "scheme": "http",
  "hostname": "web.address.com",
  "path": "path",
  "query": "index.html?param1=1",
  "params": {
    "param1": "1"
  },
  "fragment": "hash"
}

Keywords

FAQs


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