2.1.3 • Published 2 years ago

@ch264/tiny v2.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Removes all spaces from a string.

Install

$ npm install @ch264/tiny

Usage

const tiny = require("@ch264/tiny");

tiny("So much space!");
//=> "Somuchspace!"

tiny(1337);
//=> Uncaught TypeError: Tiny wants a string!
//    at tiny (<anonymous>:2:41)
//    at <anonymous>:1:1

How to import components

import { Button } from 'ch264/tiny';

function App() {
   return (
     <div className="button">
   	<h3>This is my new project</h3>
   	<Button label="test" kind="primary"/>
     </div>
   );
}

export default App;

WIP - might have to add a declaration file and adding it in package.json with typings key. React npm packages are premised to be used with Typescript.

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago