This package has been deprecated

Author message:

the development has moved to a new repository: https://github.com/neuralegion/har-sdk

@neuralegion/postman2har
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

@neuralegion/postman2har

THIS REPO HAS BEEN DEPRECATED. THE DEVELOPMENT HAS MOVED TO A NEW REPOSITORY: https://github.com/NeuraLegion/har-sdk

Transform you Postman collection to a series of HAR request objects.

Setup

npm i --save @neuralegion/postman2har

🚀 Usage

Using as a ES module:

import { postman2har } from '@neuralegion/postman2har';
import collection from 'your-postman-collection.json';

postman2har(collection).then((requests) => {
  console.log(requests);
});

If you want to pass additional data to resolve environment variables you can pass them via options:

postman2har(collection, {
  environment: { baseUrl: 'https://example.com' }
}).then((requests) => {
  console.log(requests);
});

📝License

Copyright © 2020 NeuraLegion.

This project is licensed under the MIT License - see the LICENSE file for details.

Readme

Keywords

Package Sidebar

Install

npm i @neuralegion/postman2har

Weekly Downloads

0

Version

1.3.2

License

MIT

Unpacked Size

353 kB

Total Files

53

Last publish

Collaborators

  • bar.hofesh
  • derevnjuk