npm

Join us for the upcoming webinar, "Enterprise JavaScript done right: the tools you love, the security you need."Sign up here »

fastret

1.1.0 • Public • Published

fastret

Build Status

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

Give us a ⭐️ if you like our work ❤️

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 🙌

Libraries

List of libraries using fastret

install

npm i fastret

Downloadsweekly downloads

13

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability