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

angular-hipsum

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-hipsum

Angular directive for Hipster Ipsum

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Hipster Ipsum Angular Directive

Install it

Install directive using bower:

bower install angular-hipsum

Or npm:

npm install angular-hipsum

Load script in html after angular.js file

<script src="/vendor/angular-hipsum.js"></script>

Then, inject ngHipsum in your application module:

angular.module('myApp', ['ngHipsum']);

Use it

<p hipsum paragraphs="2"></p>
<h1 hipsum words="6"></h1>
<h2 hipsum length="20"></h2>

Available attributes

  • paragraphs: number of paragraphs (up to 99 paragraphs)
<p hipsum paragraphs="2"></p>
  • words: number of words (as long as there are words available 💩)
<p hipsum words="2"></p>
  • length: length of string
<p hipsum paragraphs="2"></p>

TODO (wishlist)

  • Add words attribute to choose # of words
  • Add kitchensink element

Credits

Special thanks to Ian van Ness for providing the source of Hipster Ipsum on http://hipsterjesus.com/

Keywords

FAQs

Package last updated on 10 Jan 2017

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