Socket
Book a DemoInstallSign in
Socket

@neuralegion/postman2har

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neuralegion/postman2har

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

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
2
Created
Source

@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.

Keywords

postman

FAQs

Package last updated on 02 Dec 2021

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