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

one-spaces

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one-spaces

A tiny module for making className 😎

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
49
increased by19.51%
Maintainers
1
Weekly downloads
 
Created
Source

One Spaces

A tiny module for making className 😎

Performance

I wanna create a small and fast module.
Please see our benchmark test result!

Installation

npm (commonjs)

npm install one-spaces

browser (iife)

Please download this file.
And embed script tag in your document.

<script src="./dist/one-spaces.js"></script>

Example

arguments

OneSpacesMin('cls1', 'cls2');

array

OneSpacesMin(['cls1', 'cls2']);

object

OneSpacesMin({ cls1: true, cls2: false });

mix

OneSpacesMin('cls1', { none: false }, ['cls2']);

License

MIT © Troy Tae

Keywords

FAQs

Package last updated on 20 Nov 2019

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