Open tunnckoCore opened 9 years ago
and because we are twins with jonschlinkert, he already made update-banner
, lol
tricky (and I think it would be faster, because it is not based on regex)
trim-space-left and trim-space-right
var endsWith = require('ends-with');
function trickyTrimRight(str) {
if (!endsWith(str, ' ')) {
return str;
}
var i = 0;
var j = str.length - 1;
var c = '';
while (i < j) {
c += str[i];
i++;
}
return endsWith(c, ' ') ? trickyTrimRight(c) : c;
}
function trickyTrimLeft(str) {
if (!str.charAt(0) === ' ') {
return str;
}
var i = 1;
var j = str.length;
var c = '';
while (i < j) {
c += str[i];
i++;
}
return c.charAt(0) === ' ' ? trickyTrimLeft(c) : c;
}
and of course
console.log('!' + trickyTrimLeft(' unicorns'));
//=> '!unicrons'
console.log(trickyTrimRight('unicorns ') + '!');
//=> 'unicrons!'
stress-css.js in 297bytes
(function(d,s,w,i)%7Bd=document,w=window,s=d.createElement('script'),i=function()%7Bif(w.stressTest)%7Bw.stressTest.bookmarklet()%7Delse%7BsetTimeout(i,100)%7D%7D;s.src='http://j.mp/1PPjPmC?_='%2BMath.random();(d.body%7C%7Cd.getElementsByTagName('head')%5B0%5D).appendChild(s);i();%7D)();
one-liner for downloading all statics files from website (static blogs), scripts, styles and etc - exported in directory
wget --random-wait -r -p -e robots=off http://jenius.github.io/rupture/
mustache-spec
- mustache/spec as packagemustache-spec-tests
- adapter for mustache spec (likepromises-tests
)mustache-engine
- likeconsolidate.js
andtransforms
, for mustache-compliant modulesweb-colors
- wrapper aroundcss-color-names
filter-web-colors
andcss-color-names
filter-web-colors
- filtering possible web colorscss-color-names
is-glob
filter-values
filter-object
filter-keys
is-hex-color
then-got
make it hybrid (using hybridify-all)hybridify-all
- multiple hybridify-ingpackage-ownership
- Control (add/remove) owners (ownership) of npm package. Give npm rights to user or all organization members.then-package-json
or PR to sindresorhuspackage-json
(using hybridified then-got)exec-cmd
-make it just async after that hybridify itor wrap it inhandle-callback
maybe plushandle-arguments
or maybe one would appear one new moduleasync-exec-cmd
module.exports = hybridify(require('async-exec-cmd'));
gitcreate
- refactor, CLI out?gitfork
- gh web api fork to own profile,then gitclone user/repogithub-clone-fork
automated gitfork plus gitclone - API+CLIgitinit
- give a dirname -> create dir -> git init, remote add origin, etc - API+CLIgitremove
- API+CLI remove/delete repository in own or org profilenpmsave
- whennpm i --save
is used prepend to index.js camelCasednpminit
- guess it is init-packagenpmls
- refactornpmtest
-npm test pkgName
test specific pkggitclone
github-short-url-regex
gitclone-cli
waitsgitclone
v2 release, + own testspreserved
- cli which autocreate and generate project folder, github repo and npm publishhybridables
org - created; repos for move:handle-callback
handle-arguments
handle-errors
hybridify
hybridify-all
then-got
exec-cmd
stringify-github-short-url
update.test
,.validate
method, not inherit fromparse-github-short-url
async-exec-cmd
rewrite/refactorgitclone
which useexec-cmd
handle-errors
update readme, publish@v1.0.0 + testsfs-readdir
- stream, hybrid, async and promise api, fast, benchmarksglob2fp
- https://github.com/tunnckoCore/glob2fp/issues/2hybridables
repos banners (maybe?)update-banner
online-check-branch-exist
with callback apiexec-cmd
expose hybridifythen-got
exposegot
not hybridified.mentions-regex
updatejonschlinkert/to-arg
shloud not lowercase single uppercased letterauthor.name
for all libsbig-update
ideamukla
caseinit-package
casestarts-with
update readme, licenses, publishprompt-promise
tests (need cli testing tool)dual-emitter
testscatchy
tests, update readme, examplesjonschlinkert/parse-code-context
review and PRsjonschlinkert/is-equal-shallow
test - reorderedkeywords
bugs -normalize-keywords
etcprompt-promise
see itself issuesgitlogin
we extract generating token logic togithub-generate-token
, so refactorassert-kindof
, like kind-of but throwsif-else
s, simpler coverage processis-assert
assert-kindof
gulp-php5
orgulp-php-server
, b/c gulp-php is "unpublished" from that person ^^gulp-micromatch
parser-css
parser-cache compatiblereworkcss/css
parser-postcss
parser-cache compatiblepostcss
jstransformer-css
jstransformer forreworkcss/css
jstransformer-postcss
jstransformer forpostcss
jstransformer-myth
jstransformer formyth
markdown-it-youtube
markdown-it-mentions
or*-twitter-mentions
read-data-files
as read-dataexport-data-files
as export-files with json supportexport-config-files
exporting but reading files because the require cacheexpress-better-body
?github-repos
- almost likegithub-repositories
filter-github-repos
assertit
?jstransformer-toml
jstransformer-xml2js
jstransformer-ini
jstransformer-j140
jstransformer-lodash
jstransformer-cli
jstransformer-octet
parser-toml
parser-cson
package-clone
- npm clone from the registry.coveralls.yml
from all reposrun-commands
if no merge jonschlinkert/spawn-commands PR#1detect-installed
checks globally/locally that given package is installedcssnext
for koa, seecssnext/connect
npm-pkgs-filter
add cli, commit, publishdestination-stream
vinyl-fs.dest ideavenom/vint/genom-fs
as vinyl-fs github.com/vinyljsscss to postcss transform/compiler/migraterpostcss-myth
gaze
,node-watch
,glob-watcher
reviewdelegate-error
or better name?instead of doing
abbrev-validation-map