1.0.1 • Published 2 years ago
blueprint-to-postman v1.0.1
node-blueprint-to-postman
Converts Blueprint API documentation to a Postman 2.1 Collection.
Who uses it?
👋 You use blueprint-to-postman and you want to be listed there? Contact me.
How to install?
Include blueprint-to-postman
in your package.json
dependencies.
Alternatively, you can run npm install blueprint-to-postman --save
.
How to use?
Import the module in your code:
var MicroInvoice = require("blueprint-to-postman");
const BlueprintToPostman = require("blueprint-to-postman");
// Create a new instance
let blueprintToPostmanInstance = new BlueprintToPostman({
URL_HOST: "https://example.com"
});
blueprintToPostmanInstance.convert(BLUEPRINT_EXAMPLE).then((output) => {
console.log(output);
}).catch(e => {
console.error(e);
})