Giter Club home page Giter Club logo

fu-js's Introduction

F(unctional) u(tils) JavaScript Library

JavaScript 函数式工具集合

Tips:

  • 部分功能整理收集而来

Usage(用法)

Npm or Yarn

安装

npm i @ysorg/fu --save
//or
yarn add @ysorg/fu

ESM

import fu from '@ysorg/fu'
const { version } = fu

console.log(version)
// => '0.3.0-Beta.1'

CJS

const fu = require('@ysorg/fu').default
console.log(fu)
// => { version: '0.3.0-Beta.1', ... }

const { version } = require('@ysorg/fu').default
console.log(version)
// => '0.3.0-Beta.1'

Browser

<script src="https://unpkg.com/@ysorg/fu{@version}/dist/fu.js"></script>

<script>
  console.log(window.fu.default)
</script>

Features

  • 浏览器环境支持 window.fu 方式使用
  • 模块方式支持 @ysorg/fu 方式访问

规划

  • 全部以函数方式组织代码
  • src/*.js 为通用函数
  • src/dom/*.js 为 DOM 专用函数
  • src/node/*.js 为 NODE 专用函数

links

fu-js's People

Contributors

jesonhu 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.