Git Product home page Git Product logo

beezlib's Introduction

beezlib

About

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

Used Project

Requirements

Features

  • sprite
    • 複数画像を一枚にする
    • StylusファイルでCSSを出力可能
  • stylus
    • コンパイル
    • b64 サポート
    • web-font サポート
    • nib 標準搭載
  • image
    • optipng
    • 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
    • cp -rf フォルダ内を再帰的にコピー
  • 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

beezlib's People

Contributors

bitdeli-chef avatar fkei avatar layzie avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.