Comments (3)
This is just a library and has no CLI interface.
(I'm also not sure what a CLI would do as this is only really useful for uploaders/downloaders)
from node-yencode.
I think the CLI will be useful when the uploaders/downloaders are written in a language that does not interop with Node.js or C++.
With a CLI, I can at least npm install yencode
into my project, then spawn a system process for the CLI to encode/decode a file.
I suppose I could do the same thing by writing a JS file calling this API, but it's essentially writing the CLI :) It would be nicer that your library directly supports it.
from node-yencode.
spawn a system process for the CLI to encode/decode a file.
That sounds rather inefficient for an application to do though.
Unfortunately, if you need it for your language, it needs to be ported across. I did consider making this more of a C library, which could ease porting a bit, but never got around to it. Realistically, there's already a C++ -> Node interface, so shouldn't be hard to adopt to another language; the main difficulty would probably be getting the build system to handle the compiler flags.
from node-yencode.
Related Issues (12)
- Please Create CRC checksum's HOT 2
- Python bindings HOT 25
- Building for Go HOT 7
- Clarification on `column_offset` parameter for `encode` and `encodeTo` HOT 2
- Critical characters not escaped when they are the last character of the segment HOT 1
- yEnc SSE decode ideas HOT 54
- Build fails with node.js 12.7.0 HOT 3
- Unable to build or install HOT 2
- Errors trying to install yencode HOT 1
- macOS: llvm: yencode 1.1.0: build error: use of undeclared identifier 'aligned_alloc' HOT 5
- Trying to install yencode: "npm WARN saveError ENOENT: no such file or directory, open '/home/sander/package.json'" HOT 6
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 node-yencode.