New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

berserk

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

berserk

A library of convenient function by Jituan lin

  • 1.0.3
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

A library of convenient function by Jituan Lin

This is Jituan Lin 's utils library, maybe is also helpful for you.

This project is fork by Ramda.js

How to use

  1. install berserk
    npm install berserk

  2. import or require the berserk, depend your environment.

    1. in node.js
    	const j =require('berserk').default
        // berserk include a whole Ramda.js in it
    	j.log(j.always('hello world'))
        // log: hello world
    
    1. with webpack
        import j from 'berserk'
        //berserk also has it's own function
        j.midFlow(
    	    [
        	    ({a})=>({b:a+1}),
        	    ({b})=>({c:a+b}),
        	    (obj)=>j.log(obj)
            ]
         )({a:1})
        //log: { a:1, b:2 , c:3 }
    

API doc

go to api wiki

How to build

npm run build

How to test

npm test

Keywords

FAQs

Package last updated on 29 Jul 2017

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