JSPM

  • Created
  • Published
  • Downloads 1065
  • Score
    100M100P100Q107534F

nodejs exupery style

Package Exports

  • nyks
  • nyks/async/eachIteratorLimit
  • nyks/async/eachIteratorLimit.js
  • nyks/async/eachLimit
  • nyks/async/eachLimit.js
  • nyks/async/eachOfSeries
  • nyks/async/eachOfSeries.js
  • nyks/async/keepAliveMgr
  • nyks/async/keepAliveMgr.js
  • nyks/async/queue
  • nyks/async/queue.js
  • nyks/async/retryUntil
  • nyks/async/retryUntil.js
  • nyks/async/sleep
  • nyks/async/sleep.js
  • nyks/async/timeout
  • nyks/async/timeout.js
  • nyks/buffer/indexOf
  • nyks/buffer/indexOf.js
  • nyks/child_process/exec
  • nyks/child_process/exec.js
  • nyks/child_process/passthru
  • nyks/child_process/passthru.js
  • nyks/child_process/wait
  • nyks/child_process/wait.js
  • nyks/collection/reindex
  • nyks/collection/reindex.js
  • nyks/crypto/hmac
  • nyks/crypto/hmac.js
  • nyks/crypto/md5
  • nyks/crypto/md5.js
  • nyks/crypto/openssh2pem
  • nyks/crypto/openssh2pem.js
  • nyks/crypto/pemme
  • nyks/crypto/pemme.js
  • nyks/crypto/sha1
  • nyks/crypto/sha1.js
  • nyks/date/humanDiff
  • nyks/date/humanDiff.js
  • nyks/fs/copyFile
  • nyks/fs/copyFile.js
  • nyks/fs/createWriteStream
  • nyks/fs/createWriteStream.js
  • nyks/fs/deleteFolderRecursive
  • nyks/fs/deleteFolderRecursive.js
  • nyks/fs/filesizeSync
  • nyks/fs/filesizeSync.js
  • nyks/fs/isDirectorySync
  • nyks/fs/isDirectorySync.js
  • nyks/fs/isFileSync
  • nyks/fs/isFileSync.js
  • nyks/fs/md5File
  • nyks/fs/md5File.js
  • nyks/fs/md5FileSync
  • nyks/fs/md5FileSync.js
  • nyks/fs/mkdirpSync
  • nyks/fs/mkdirpSync.js
  • nyks/fs/readdir
  • nyks/fs/readdir.js
  • nyks/fs/rename
  • nyks/fs/rename.js
  • nyks/fs/rmrf
  • nyks/fs/rmrf.js
  • nyks/fs/sha1File
  • nyks/fs/sha1File.js
  • nyks/fs/tmppath
  • nyks/fs/tmppath.js
  • nyks/fs/writeLazySafe
  • nyks/fs/writeLazySafe.js
  • nyks/fs/writeLazySafeSync
  • nyks/fs/writeLazySafeSync.js
  • nyks/function/cache
  • nyks/function/cache/index.js
  • nyks/function/cache/noParams
  • nyks/function/cache/noParams.js
  • nyks/function/detach
  • nyks/function/detach.js
  • nyks/function/once
  • nyks/function/once.js
  • nyks/function/promiser
  • nyks/function/promiser.js
  • nyks/function/promisify
  • nyks/function/promisify.js
  • nyks/function/sleep
  • nyks/function/sleep.js
  • nyks/function/unary
  • nyks/function/unary.js
  • nyks/http/fetch
  • nyks/http/fetch.js
  • nyks/http/header/parse
  • nyks/http/header/parse.js
  • nyks/http/request
  • nyks/http/request.js
  • nyks/index.js
  • nyks/lang/toBool
  • nyks/lang/toBool.js
  • nyks/net/getPort
  • nyks/net/getPort.js
  • nyks/object/combine
  • nyks/object/combine.js
  • nyks/object/dive
  • nyks/object/dive.js
  • nyks/object/indexOf
  • nyks/object/indexOf.js
  • nyks/object/jqdive
  • nyks/object/jqdive.js
  • nyks/object/mask
  • nyks/object/mask.js
  • nyks/object/sort
  • nyks/object/sort.js
  • nyks/object/walk
  • nyks/object/walk.js
  • nyks/path/extend
  • nyks/path/extend.js
  • nyks/path/which
  • nyks/path/which.js
  • nyks/process/formatArg
  • nyks/process/formatArg.js
  • nyks/process/formatArgs
  • nyks/process/formatArgs.js
  • nyks/process/parseArgs
  • nyks/process/parseArgs.js
  • nyks/process/splitArgs
  • nyks/process/splitArgs.js
  • nyks/promise/defer
  • nyks/promise/defer.js
  • nyks/require/lookup
  • nyks/require/lookup.js
  • nyks/require/resolve
  • nyks/require/resolve.js
  • nyks/stream/drain
  • nyks/stream/drain.js
  • nyks/stream/pipe
  • nyks/stream/pipe.js
  • nyks/stream/read
  • nyks/stream/read.js
  • nyks/string/format
  • nyks/string/format.js
  • nyks/string/prettyFileSize
  • nyks/string/prettyFileSize.js
  • nyks/string/repeat
  • nyks/string/repeat.js
  • nyks/string/replaceEnv
  • nyks/string/replaceEnv.js
  • nyks/string/rreplaces
  • nyks/string/rreplaces.js
  • nyks/string/sprintf
  • nyks/string/sprintf.js
  • nyks/string/stripEnd
  • nyks/string/stripEnd.js
  • nyks/string/stripStart
  • nyks/string/stripStart.js
  • nyks/string/truncate
  • nyks/string/truncate.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nyks) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Motivation

nyks is a modular nodejs utilities collection (mout completion for (mostly) nodejs patterns). Module are exported in standard commonJS module format and written in pure ES5/ES6 strict format. (no transpilation required nor used).

Use browserify if you need nyks module in a browser environnement.

Build Status Coverage Status Version License Code style

Main goals

  • increase code reuse;
  • be clear (code should be clean/readable);
  • be easy to debug;
  • be easy to maintain;
  • follow best practices;
  • follow standards when possible;
  • don't convert JavaScript into another language!
  • be compatible with other frameworks;
  • be modular;
  • have unit tests for all modules;

Async APIs

  • Find more details about async APIs (async.js thought ES7 async/await) in a dedicated readme

What shouldn't be here

  • Event system - pub/sub ; see uclass/events or eventemitter-co
  • Template engine;
  • Anything that isn't generic enough to be on a standard library;
  • Anything that could be a separate library and/or isn't a modular utility...

API Documentation

Online documentation can be found inside the doc folder.

License

Released under the MIT License.

  • 131, author
  • mout, design inspiration, main complementarity
  • cnyks, CLI runner & related tools
  • Kalmani for documentation