Neck Protection Mandate

    @lookrain/thanos

    1.0.3 • Public • Published

    Wipe out half of your content nodes in your DOM (div, span, h1, h2, h3, p, li, etc)

    Installation

    npm install --save @lookrain/thanos
    

    Usage

    import snap from '@lookrain/thanos';
    
    onButtonClickOrSomeOtherEventsYouHave() => {
      snap();
    }
    

    in React

    import snap from '@lookrain/thanos';
    ...
    
    class App extends React.Component {
      render() {
        return (
          <div>
            <button onClick={snap}>Snap</button>
            ...
          </div>
        );
      }
    }
    
    export default App;
    
    

    Keywords

    Install

    npm i @lookrain/thanos

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    1.65 kB

    Total Files

    3

    Last publish

    Collaborators

    • lookrain