'Use date-fns on a Google Apps Script project

I would like to use the date-fns library in my Google Apps Script project, but I don't know how.

I have downloaded the .js file from here: https://www.cdnpkg.com/date-fns/file/date_fns.min.js/

And I added it to my project as a .gs file

But now I don't know how to refer to its functions. Could anyone help me please?

Thank you!!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source