Comments (4)
Currently it only handles packages. Where would the binary be installed to?
from napa.
What feels intuitive to me for this functionality would be for any URL that didn't resolve to an archive file, create a directory in node_modules with the name from package.json and put the file in there.
For example in my project I then copy that bin into a docker container in its /usr/bin. If I could depend on an arbitrary URL I can completely avoid installing curl, updating apt-get etc in the container.
from napa.
I'm trying to include this file as part of my install, but napa is not retrieving it correctly,
https://github.com/away3d/away3d-core-fp11/releases/download/v4.1.6/away3d-core-fp11_4_1_6.swc
from napa.
this would be quite straight forward to implement right? would a pr be accepted ?
edit: looks like #85 is already open. @shama can you take a look?
from napa.
Related Issues (20)
- some question, about how to use it. I just want to know where this package used to? HOT 3
- Can't download jQuery HOT 2
- --save flag HOT 1
- Download a single js file and give it a location HOT 1
- Custom install folder HOT 2
- Trouble installing a dependency that uses napa HOT 7
- Peer dependencies HOT 3
- can't napa be run on npm postInstall hook? HOT 1
- download a single JS file HOT 1
- Flat (stripped folders) of ZIPs / Update download to 5 HOT 1
- Yarn integration: Is it possible? HOT 2
- napa not working ubuntu HOT 3
- Default version for generated package.json is always '0.0.0' HOT 1
- Nested napa dependencies not resolving correctly
- Packages installed with napa removed after install other package HOT 5
- Corrupt cache HOT 1
- zip folder structure lost
- r HOT 1
- Downloading a jar unpacks it
- RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napa.