
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
See http://hardmath123.github.io/englipsum
The accepted Lorem Ipsum text is inherently messy. It has different character ratios and prevalent digraphs. The words are foreign to most of us, so they attract attention. There's barely any interesting formatting, because Cicero didn't have hyperlinks.
Englipsum solves those problems.
It generates grammatically-valid English that makes sense in context. It looks right, thus allowing itself to be ignored. Englipsum pays attention to the little details that make text natural-looking. The default dictionary includes words found on most tech-ey websites.
Simply include englipsum.js
in your HTML file:
<script src="https://github.com/Hardmath123/englipsum/raw/gh-pages/englipsum.js></script>
Elements of class englipsum
will be populated with placeholder text automatically.
<div class="englipsum"></div>
You can customize settings by including JSON in the element:
<div class="englipsum">
{
"paragraphs": 3,
"links": true
}
</div>
Property | Value |
---|---|
paragraphs | The number of paragraphs to generate |
sentences | The number of sentences per paragraph |
links | Generate random links? (they are uniquely stamped so that testing a:visited is easy) |
ems | Italicize random words? |
dict | Provide your own dictionary. Object with fields (all optional) nouns , verbs , adjs , advs |
dict | Reference a provided dictionary. Possible values: "farm" |
Create a to-do list:
<ol>
<li class="englipsum"> {"sentences": 1, "paragraphs": 1}</li>
<li class="englipsum"> {"sentences": 1, "paragraphs": 1}</li>
<li class="englipsum"> {"sentences": 1, "paragraphs": 1}</li>
<li class="englipsum"> {"sentences": 1, "paragraphs": 1}</li>
</ol>
Placeholder text about animals:
<div class="englipsum">
{
"dict": {
"nouns": ["cow", "pig", "sheep", "fish", "farmer", "tractor"],
"verbs": ["makes", "grows", "works", "produces", "helps"]
}
}
</div>
FAQs
Usable placeholder text
We found that englipsum demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.