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

zeelib

Package Overview
Dependencies
Maintainers
1
Versions
370
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zeelib

A small lib of FP, Node, and DOM utils.

  • 1.1.11
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
decreased by-9.64%
Maintainers
1
Weekly downloads
 
Created
Source

zeelib

A small lib of FP, Node, and DOM utils.

Full documentation

Changes

npm


Usage

import z from 'zeelib'

z.open('http://zacanger.com')
if (z.isEven(process.argv[2])) // do things
z.camelCaseToLispCase('thisString')

You can also import individual functions.

import c from 'zeelib/dist/colorize'

console.log(c.bold(c.blue('HELLO THERE')))

If you're using require with individual files you'll need to use default:

const c = require('zeelib/dist/colorize').default

If you get errors when using zeelib in a front-end build, you may need to use something like Webpack's node option. Try:

node: {
  fs: 'empty',
  net: 'empty',
  tls: 'empty',
  readline: 'empty',
  child_process: 'empty'
}

Or, just import the functions you need (like import words from 'zeelib/dist/words').

See the full documentation.

License

WTFPL

Contributing

  • This project uses Flow.
  • Please run npm test.
  • If you can, please add a test.
  • Please add your thing in src/index.js in the appropriate place
  • Make sure you run npm run build
    • (This also runs test, which also runs flow and eslint)

Keywords

FAQs

Package last updated on 22 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