close
Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

dankjs

Tells you if your code is dank or not.

Installation

yarn add dankjs

Usage

yarn dank

Output

A definitive assessment of the danktitude of your code

Dankness criteria

Not dank:

  • invoked with npm instead of yarn (automatically not dank)
  • javascript linter that isn't eslint (dankness detensifies)
  • not javascript (least dank)
  • angular
  • semicolons
  • the keyword 'function'
  • var
  • jquery
  • any html
  • questions regarding the methodology of dankjs

Dank:

  • prettier
  • vscode config
  • code contains the word dank
    • not in a comment
  • airbnb eslint config
  • react
    • preact
  • babel stage 0
  • dankness intesifies slightly for every ¯_(ツ)_/¯
  • jest
  • enzyme
  • css in javascript
  • calling it 'ECMASCript'
  • 'Douglas Crockford' exists in code
    • not as a comment
  • ...
  • any .un~ detected in your src (bonus dankage)
  • code contains memes
    • memes are functional

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors