New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

insomnia-plugin-stringify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-plugin-stringify

This plugin is a simple stringifier built because of Firebase's restrictions on data messages. Any key in the json body that contains `.stringify` will be stringified before being sent on. `.stringify` is not kept in the key name in the final json body.

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

insomnia-plugin-stringify

Overview

This plugin is a simple stringifier built because of Firebase's restrictions on data messages. Any key in the json body that contains .stringify will be stringified before being sent on. .stringify is not kept in the key name in the final json body.

Install

One-Click installation

  • Go to http://insomnia.rest/plugins/insomnia-plugin-stringify
  • Click the "Install plugin" button.
  • Click "Open Insomnia" and "Install"

Install from plugins tab

  • Open Insomnia
  • Go to Application > Preferences > Plugins
  • Enter insomnia-plugin-stringify
  • Click "Install Plugin"

Usage

With the plugin installed and enabled, just add .stringify to the end of any key whose value you'd like to stringify.

Ex:

{
    "person":{
        "id": "1234456",
        "data": {
            "name": "joe",
            "job": "doctor",
            "age": 25,
            "payload.stringify": {
                "hello": "world",
                "insomnia": "plugin",
                "number": 1
            }
        }
    }
}

gets turned into

{
    "person":{
        "id": "1234456",
        "data": {
            "name": "joe",
            "job": "doctor",
            "age": 25,
            "payload": "{\"hello\":\"world\",\"insomnia\":\"plugin\",\"number\":1}"
        }
    }
}

Note: .stringify is not kept in the key after stringification.

FAQs

Package last updated on 21 Aug 2022

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