# "*": "https://raw.githubusercontent.com/wefindx/schema/master/method/oo-item.yaml" # "base:title": "0oo - Package manager (e.g. NPM) for shared libraries in browser" "og:title": "Package manager (e.g. NPM) for shared libraries in browser" "og:description": "Today, each web application packages all its dependencies (often a very deep npm tree), every time we open it. A large number of JavaScript libraries are the same (e.g., ReactJS, Bootstrap, @fortawesome/fontawesome-svg-core, node-sass, etc. etc.) they don't need to be loaded for each website, or web app. The browser could provide the shared dependencies, that all web apps could use. If the browser would have these libraries shared, then we wouldn't have to use so much traffic to load them from every app every time, that would reduce the traffic footprint for downloading app dependencies." "og:image": "https://avatars0.githubusercontent.com/u/28134655" "og:url": "/method/924/" "base:css": "/static/css/bootstrap.min.9c25540d6272.css" "base:extra-css": "/static/css/base.57997aeac1df.css" "base:favicon": "/static/favicon.acaa334f0136.ico" "base:body_class": "" "layout:logo": "/static/0oo.8d2a8bbef612.svg" "layout:index": "/" "layout:menu": "/menu/" "layout:categories": "/intents/" "layout:ideas": "/methods/" "layout:projects": "/projects/" "layout:users": "/users/" "layout:about": "/about/" "layout:help": "/help/" "layout:bug_report": "https://github.com/wefindx/0oo" "layout:login": "/accounts/login/" "layout:light-off": "/darken/?darken=true" "layout:set-multilingual": "/mulang/?mulang=true" "layout:lang": "Language" "layout:set-language-post-action": "/i18n/setlang/" "layout:csrf-token": "4jTFRuW2t8yrXDAfB4Kl0KAiWnqKK1OEuD7HLimTadcFKO9oWlW8ftf0iMrk2J6i" "layout:input-next": "/method/924/" "layout:languages": [{"code": "ja", "is-active": "false", "name": "日本語"}, {"code": "lt", "is-active": "false", "name": "Lietuviškai"}, {"code": "zh-hans", "is-active": "false", "name": "简体中文"}, {"code": "en", "is-active": "true", "name": "English"}, {"code": "ru", "is-active": "false", "name": "Русский"}, {"code": "oo", "is-active": "false", "name": "O;o,"}] # "item:parent:intents": [{"url": "/intent/1255/", "title": "Low-Energy Websites"}] "item:title": "Package manager (e.g. NPM) for shared libraries in browser" "item:summary": "Make browser user able to install libraries, like on operating system, and reduce the amount of data that we have to download for each app loading." "item:voting": +1 "item:voting:add": "/admin/hlog/voting/add/?method=924" "item:voting:csrf_token": "4jTFRuW2t8yrXDAfB4Kl0KAiWnqKK1OEuD7HLimTadcFKO9oWlW8ftf0iMrk2J6i" "item:voting:submit-value-option": {"selected": "[-]", "value": "-"} "item:voting:submit-value-option": {"selected": "[+]", "value": "+"} "item:base-administration": false "item:body": | Today, each web application packages all its dependencies (often a very deep npm tree), every time we open it. A large number of JavaScript libraries are the same (e.g., ReactJS, Bootstrap, @fortawesome/fontawesome-svg-core, node-sass, etc. etc.) they don't need to be loaded for each website, or web app. The browser could provide the shared dependencies, that all web apps could use. If the browser would have these libraries shared, then we wouldn't have to use so much traffic to load them from every app every time, that would reduce the traffic footprint for downloading app dependencies. "item:source-date": "" "item:permalink": "/method/924/?l=en" "item:owner": "Mindey" "item:created": "2020-03-20T09:58:12.600000" "item:ownerlink": "/user/147/Mindey" # "item:link:items": "item:link:add": "/admin/hlog/link/add/?parent=924" "item:project:items": "item:project:add": "/admin/hlog/project/add/?parent=924" "item:comment:add": "/methods/addnote?parent=924" "item:comment:add:csrf_token": "4jTFRuW2t8yrXDAfB4Kl0KAiWnqKK1OEuD7HLimTadcFKO9oWlW8ftf0iMrk2J6i" "item:comment:form": |
  • Mark if the comment raises new questions.
  • Mark if the comment contributes potential solutions.
  • Mark if the comment contributes facts for reasoning.
  • Please, log in. # "item:comment:items": - "id": "a-57001" "text": | This is similar to an idea I had for native libraries. These are libraries that have JavaScript equivalents that can be transparently replaced with native code without any JavaScript overhead. Would be useful for game engines, crypto and anything computationally expensive. https://github.com/samsquire/ideas#51-native-web-libraries "owner": "chronological" "ownerlink": "/user/198/chronological" "permalink": "/method/924/?l=en#a-57001" "created": "" "base:js": "/static/js/base.c7357c06cc89.js"