Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beezlib

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beezlib

The utility library for Node.js using beez projects.

  • 0.9.16
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by37.5%
Maintainers
4
Weekly downloads
 
Created
Source

beezlib

About

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

Used Project

  • beez
  • beez-foundation

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

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

Keywords

FAQs

Package last updated on 09 Jun 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc