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

@vital-ai/haley-mock

Package Overview
Dependencies
Maintainers
3
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vital-ai/haley-mock

Mock client library to access Haley AI service

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-44.44%
Maintainers
3
Weekly downloads
 
Created
Source

haley-js-mock-npm

develop

domain requirement:

domain files should put in the directory: vitalservice/domains. vitalservice is the directory that at the same level of node_modules.

mock handler requirement.

handlers should live in file haley-service-mock/index.js as an array. The array should be export. examples of code of index.js


const MockApiForHomePageEntriesHandler = require('../handlers/homePageEntries_Handler').mockAPI;
const MockApiSearchHandler = require('../handlers/search_Handler').mockAPI;

const handlers = [
    {id: 'mock home page entries', handler: MockApiForHomePageEntriesHandler},
    {id: 'mock search page', handler: MockApiSearchHandler},
]

module.exports = handlers;

Keywords

FAQs

Package last updated on 04 Apr 2020

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