Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@seshchat/ass

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seshchat/ass

Mock server for App / Play Store screenshots

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Ass

Ass creates a mock REST server for your app to communicate with to fake its state for App Store / Play Store / whatever

Installation

npm i -g @seshchat/ass
yarn global add @seshchat/ass

Usage

Create an Assfile.json containing information about your mock server. Here's an example:

{
  "name": "SESH",
  "port": 4000,

  "options": [{
    "name": "Onboarding",
    
    "endpoints": [{
      "method": "POST",
      "endpoint": "/graphql",

      "statusCode": 200,
      "body": {
        "hello": "world"
      }
    }]
  }, {
    "name": "Chat",

    "endpoints": [{
      "method": "POST",
      "endpoint": "/graphql",

      "statusCode": 200,
      "body": {
        "hello": "world",
        "x": 0
      }
    }]
  }]
}

Then start the Ass server:

ass ./Assfile.json

The server will automagically be updated on Assfile save :~)

FAQs

Package last updated on 25 May 2021

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