# Get JS file insted of use cdn

**URL:** <https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264>\
**Category:** Uppy\
**Created:** [September 13, 2024, 11:10am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264 "2024-09-13T11:10:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haren](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Haren](https://community.transloadit.com/u/Haren)\
**Post date:** [September 13, 2024, 11:10am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264/1 "2024-09-13T11:10:30Z")

</div>

Hello,  
Current i am using [https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs](https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs)

Is there any way so i can get js file and use it instead of using CDN directly.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Merlijn](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/merlijn/32/1382_2.png) [@Merlijn](https://community.transloadit.com/u/Merlijn)\
**Post date:** [September 16, 2024, 6:56am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264/2 "2024-09-16T06:56:42Z")

</div>

Hi, I’m not sure what you mean with the JS file directly, that’s kind of that the CDN is. Otherwise you can use the packages from the npm registry.

---

<div class="post-metadata">

**Author:** ![Haren](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Haren](https://community.transloadit.com/u/Haren)\
**Post date:** [September 16, 2024, 7:15am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264/5 "2024-09-16T07:15:37Z")

</div>

I am using .js files for my project,.  
[https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs](https://releases.transloadit.com/uppy/v4.3.0/uppy.min.mjs) is  
Has extension (.mjs) . i do not want to use .mjs file extension, Is there any way that i can get minified js file for current version(4.3.0).

---

<div class="post-metadata">

**Author:** ![Merlijn](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/merlijn/32/1382_2.png) [@Merlijn](https://community.transloadit.com/u/Merlijn)\
**Post date:** [September 16, 2024, 7:17am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264/6 "2024-09-16T07:17:28Z")

</div>

You can just remove the `m` from the extension:

[https://releases.transloadit.com/uppy/v4.3.0/uppy.min.js](https://releases.transloadit.com/uppy/v4.3.0/uppy.min.js)

Note that `.mjs` is preferred if you want to load the bundle inside a script with `type="module"`, which is generally better.

---

<div class="post-metadata">

**Author:** ![Haren](https://avatars.discourse-cdn.com/v4/letter/h/ebca7d/32.png) [@Haren](https://community.transloadit.com/u/Haren)\
**Post date:** [September 16, 2024, 7:21am UTC](https://community.transloadit.com/t/get-js-file-insted-of-use-cdn/17264/7 "2024-09-16T07:21:56Z")

</div>

Perfectly answered many thanks
