New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cornified

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cornified

Share love and happiness with the masses

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Cornify

Cornify spreads eternal joy and happiness across the web by adding rainbows and unicorns to any web page.

Install

Cornify is available on both npm and bower as cornified.

To install via npm:

npm install cornified

To install via bower:

bower install cornified

Usage

With node/browserify:

var cornify = require('cornified');

// add a random unicorn or rainbow to the page
cornify.add();

// remove all cornify images from the page
cornify.clear();

With bower:

<!DOCTYPE html>
<html lang="en">
<head>
  <script src="bower_components/cornified/build.js"></script>
</head>
<body>
  
</body>
<script>
  cornify.add();
  cornify.pizzazz();
</script>
</html>

API

add

Appends a random cornify image to the page


cornify.add();
//=> <img class="cornify" src="https://raw.github.com/akenn/cornify/master/images/rainbow/2.gif" />
count

Returns the number of cornify images on the page

cornify.count();
//=> 1
clear

Remove all cornify images from the page

cornify.count();
//=> 117

cornify.clear();

cornify.count();
//=> 0
pizzazz

Party time

cornify.count();
//=> 0

cornify.pizzazz();

cornify.count();
//=> 239

Building

npm install
npm run build

Acknowledgements

Inspired by cornify.com

Keywords

FAQs

Package last updated on 21 Jan 2018

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