this post was submitted on 16 Mar 2024
8 points (100.0% liked)

WebDev

1142 readers
1 users here now

Community for all things Web Development related.

founded 2 years ago
MODERATORS
 

When using dependencies such as NPM packages, Composer packages. Weather you use a CDN or host the packages on the web server, don't many packages out there require you to display the licenses of the package being used and show attributions?

How would one place this on their website? I even went to several websites to see how they do this and could not find a section and I am sure these website use packages that require the license to be listed and list the attributions.

I can find the licenses and attributions of packages used in many applications on desktop and mobile, usually in the apps "about" page.

you are viewing a single comment's thread
view the rest of the comments
[–] silas 1 points 9 months ago

You can just have a Credits/Licenses page in your legal section that lists these packages. If you’re using npm packages, you could use an npm package like nlf or license-checker to compile a list of all licenses in your dependencies