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

blueprint-transactions

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

blueprint-transactions

Compile HTTP transactions (request-response pairs) from API Blueprint AST

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Compile HTTP request-response pairs from API Blueprint AST

Build Status Dependency Status devDependency Status Coverage Status

NPM

This library takes API Blueprint AST and returns specific HTTP transactions (Request and Response pair).

  • Inherits parameters from parent Resource and Action sections
  • Expands URI templates
  • Warns on undefined URI query and path parameters
  • Validates URI parameteres types
  • Assigns origin object pointing to the Blueprint AST
  • Compiles Transaction name string for each transaction

Installation

npm install blueprint-transactions

Usage

compiler = require('blueprint-transactions')

transactions = compiler.compile(ast, './apiay.apib')

Contribution

Any contribution is more than welcome!

Fork, write tests, write clean, readable code which communicate, use scripts/bdd, keep the test coverage and create a pull request.

Keywords

FAQs

Package last updated on 07 Jul 2015

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