# How to integrate external library in script?

**URL:** <https://community.postman.com/t/how-to-integrate-external-library-in-script/5851>\
**Category:** Help Hub\
**Tags:** collections\
**Created:** [June 11, 2019, 10:28am UTC](https://community.postman.com/t/how-to-integrate-external-library-in-script/5851 "2019-06-11T10:28:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [June 11, 2019, 5:53pm UTC](https://community.postman.com/t/how-to-integrate-external-library-in-script/5851/2 "2019-06-11T17:53:55Z")

</div>

Hi there @hitesh.singh -

It looks like this question has already been asked. Feel free to weigh in with your own use case in the thread linked below, if this discussion doesn’t help.

> [@Adding external libraries to postman](https://community.postman.com/t/adding-external-libraries-to-postman/1971/4):
>
> @yoelspotts You’ll first have to check if the library in question has a CDN equivalent that you can use. For instance, if you’d like to use [strman](https://npmjs.org/package/strman), you can head over to it’s CDN link: [https://cdnjs.cloudflare.com/ajax/libs/strman/1.3.1/strman.js](https://cdnjs.cloudflare.com/ajax/libs/strman/1.3.1/strman.js), copy the contents over into the value of an environment variable, say strman\_code. Next, you can include this within your code by adding the following snippet of code as the first statement in every request level pre-request/test script: const strman\_c…

---

_[View the full topic](https://community.postman.com/t/how-to-integrate-external-library-in-script/5851)._
