morantron / deno_sshkit Goto Github PK
View Code? Open in Web Editor NEWCopycat of ruby's sshkit gem for deno
License: MIT License
Copycat of ruby's sshkit gem for deno
License: MIT License
I love these kinds of repos, I'm a big fan of many ruby libraries. While I'm not working on ssh, I do work on subprocesses (quickr/run.js on Deno Land).
So I just wanted to mention an API design I found that was really helpful for subprocesses. And if you have any counter points, I might make changes in my subprocess runner.
Changing const files = execute("ls -l");
to
const files = execute`ls -l`;
Can allow for some really nice auto escaping. So stuff like
const files = execute`ls ${filePathWithASpace}`;
// becomes
// const files = execute`ls '/home/Joe Schmoe/'`;
Of course there are some drawbacks, but I figured I'd mention the option
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.