npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

beezlib

v0.9.22

Published

The utility library for Node.js using beez projects.

Downloads

293

Readme

beezlib

About

Node.js library for beez and beez-founation with beez-tools.

Used Project

Requirements

Features

  • sprite

    • 複数画像を一枚にする
      • StylusファイルでCSSを出力可能
    • ライブラリの切り替え(options.sprite2)
      • node-spritesheet, node-spriteから選択可能
      • node-spritesheetでは複数解像度対応時にバグが見つかったため、次のメジャーアップデートではnode-spriteのみになります。
  • stylus

    • コンパイル
    • b64 サポート
    • web-font サポート
    • nib 標準搭載
  • image

    • optipng
    • pngquant
    • jpegoptim
    • imagemagick
      • 画像サイズ取得
      • ファイル名のpixelRatioから、それ以外のpixelRatio画像をリサイズ
  • fsys

    • ファイルのタイプを判定(file, directory, block device, charactor device, symlink, fifo, socket)
    • rm -rf (sync) : フォルダ削除
    • mkdir -p (async|sync) : フォルダ作成
    • glob : フォルダ内を走査
    • JSONファイルを読み込む
    • JSファイル(JSON)を読み込む
    • chmod ファイル権限変更
    • cp : ファイルコピー
    • ファイルパスの '~' をパスに変換
  • fsys.store

    • ディレクトリ内の、JSON, Function-JSON ファイルをまとめてロードし保持する。
      • Auto-load
  • simple logging

    • ログレベル、端末のカラーリング、ログ出力行番号サポート
  • obj

    • オブジェクトのコピー
  • template

    • handlebars
      • hbs to hbsc.js
      • hbsp to hbsp.js
      • require.beez.js.hbs to require.beez.hbsc.js
      • hbs to hbsc to html

Install

$ npm install beezlib

Test

$ npm install .
$ make test

jshint

$ npm install .
$ make jshint

jsdoc

$ npm install .
$ make jsdoc

Documents

Load configuration file (javascript/json)

You can load configuration file writeen by json, javascript.

test/json/item.json

{
    "item": { // item data
        "fruit": "Orange"
    }
}

test/json/json.js

(function () {

    // You can use these global objects on Node.js.
    // 'process', 'require', '__filename', '__dirname', 'module', 'exports'

    var fs = require('fs'); // sample

    return {
        hoge: "foo"
    };
}());

Support node.js global object

Contributing

Copyright

CyberAgent, Inc. All rights reserved.

LICENSE

@see : LICENSE

The MIT License (MIT)

Copyright © CyberAgent, Inc. All Rights Reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Bitdeli Badge