hsuting

    1.0.3 • Public • Published

    Something Interesting

    This project is used for recording some functions. All file is use babel6 to write. Here is babel setting.

    Start

    You can copy file you need or use this:

    npm install hsuting
    

    List

    img-resize

    • Use to resize image.
    • code
    • import imgResize from 'hsuting/lib/img-resize';

    animation

    • Use to run animation by javascript.
    • It need to use eases.
    • code
    • import animation from 'hsuting/lib/animation';

    email

    get-date

    • Get format date.
    • code
    • import getDate from 'hsuting/lib/get-date';

    post-server

    • Post data to server with node.js.
    • It use https module to connect server.
    • code
    • import postServer from 'hsuting/lib/post-server';

    ajax-post

    • Post data to server with ajax.
    • code
    • import ajaxPost from 'hsuting/lib/ajax-post';

    ajax-get

    • Get data from server with ajax.
    • code
    • import ajaxGet from 'hsuting/lib/ajax-get';

    layout

    • Some layout I use and this is used for radium.

    • List

      Name Usage
      Grid Grid is parent style of Cell
      Cell This is like layout of mdl. As a result, it have 12, 8 and 6 cols in desktop, tablet and phone size.
      (Top\Center\Bottom)(Left\Center\Right) This style will decide the layout of this children node.
    • code

    • import Layout from 'hsuting/lib/layout';

    Install

    npm i hsuting

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • hsuting