1.1.1 • Published 3 years ago

fastret v1.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

fastret

Build Status Github Repo Size LICENSE NPM Downloads NPM Version Contributors Commit

Fastret helps you to test your REST api quickly, just by passing api details as json

Give us a :star: if you like our work :heart:

Install

$ npm install fastret --save

Usage

const fastRet = require('fastret');

const GET_API = {
  'url': 'https://jsonplaceholder.typicode.com/todos/1',
  'headers': {},
  'body': {},
  'method': 'GET',
  'skip_keys': ['title'],
  'response': {
    'userId': 1,
    'id': 1,
    'title': 'delectus aut aute',
    'completed': false
  }
};

const isPassed = await fastRet(GET_API);
// Output -> true

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Contributors

Thank you to all the contributors who have helped us in making this project better :raised_hands:

Libraries

List of libraries using fastret