タグ

npmに関するHashのブックマーク (5)

  • CLIから青空文庫を閲覧するツール書いた - マルシテイア

    www.npmjs.com github.com インストール npm i -g aozora 使い方 aozora : 対話的インターフェイスで作品を探す aozora -r length : ランダムな作品を表示する。 length を指定したら先頭(length)文字だけ表示 aozora -a 著者名 : マッチする著者一覧を表示。一人だけの場合は、その人の作品一覧も表示。 aozora -w 作品名 : マッチする作品一覧を表示。一件の場合は文を表示。 オススメ利用法 aozora -r 1000 | pbcopy で長文貼り付けできる 経緯 仕事でインターネット作ってるとテスト用に適当なデータを入力することがある。 「あああああ」とか「sdfafadf」とか。 極稀に、なんかミスってその内容が公開されてしまうことがある。 「ああああ」とかなら良いんだけど、ふざけててあまり宜し

    CLIから青空文庫を閲覧するツール書いた - マルシテイア
    Hash
    Hash 2016/03/02
    これめっちゃよさそう || UI も洗練されてる
  • Project Dino - serverless load testing with Lambda and Artillery.io

    Hassy Veldstra Building Artillery.io • Interested in OSS, SRE, product design, SaaS • always up for coffee ☕ • h@veldstra.org • @hveldstra Project Dino: Large-scale Load Testing With AWS Lambda Star _._ _/:|: /||||||. ||||||||. /|||||||||: _ _ /||||||||||| _| |_|___ ___ .||||||||||||| | . | | | . | | ||||||||||||: |___|_|_|_|___| _/| |||||||||||||:_=---.._ | | |||||:'''':|| '~-._ '-. _/| | ||' '-.

    Project Dino - serverless load testing with Lambda and Artillery.io
    Hash
    Hash 2016/02/28
    Lambda を使った分散負荷試験
  • [意訳]私がGulpとGruntを手放した理由 - Qiita

    このポストは、Why I Left Gulp and Grunt for npm Scriptsを筆者の許諾を得て意訳したものです。間違いがありましたら、ご指摘いただけると幸いです。 (以下、訳) 私はGulpとGruntが不要な抽象化レイヤーだと気づきました。npmのscriptsはとても強力で、そっちの方が便利だったりします。 例を挙げましょう 私はかつてはGulpが大好きでした。しかし結局のところ、100行ものgulpfileと大量のgulpプラグインを扱うハメになりました。Gulp上でWebpackやBrowsersync、Mochaなどを統合するのは当にたいへんでした。なぜでしょうか?それは、プラグインによってはドキュメントが不十分だったり、APIの一部しか公開されていなかったためです。 これらを解決しようと思えばできました。しかしなんと それらのツールを直接使用すると不具合が

    [意訳]私がGulpとGruntを手放した理由 - Qiita
    Hash
    Hash 2016/01/30
    Gulp 捨てたいマン
  • classnames

    const classNames = require('classnames'); classNames('foo', 'bar'); // => 'foo bar' Alternatively, you can simply include index.js on your page with a standalone <script> tag and it will export a global classNames method, or define the module if you are using RequireJS. Project philosophy We take the stability and performance of this package seriously, because it is run millions of times a day in

    classnames
    Hash
    Hash 2015/11/09
    文字列を合成するだけの薄いライブラリ. React.js と一緒に使うと便利
  • This page is moved

    This page has moved to http://stylus-lang.com/

    Hash
    Hash 2013/10/18
    sass的なものか. 極限までスリム化したかんじ
  • 1