
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
A meme based emoticon standard.
const demFeels = require('dem-feels');
demFeels('hello world! feelsgd');
// => hello world! <img src="https://cdn.rawgit.com/CreaturePhil/dem-feels/master/emotes/feelsgd.png" title="feelsgd" width="50" height="50" />'
$ npm install dem-feels
Visit http://creaturephil.github.io/dem-feels to see the list of emotes.
Parses the message with dem feels. Default maximum count of parsing amount of
emotes is 5
.
Add new emotes to the default list of emotes. newEmotes is an object.
Example:
demFeels.extendEmotes({
'feelsnew': 'feelsnew.png'
});
Get an object of emotes. For example: {'feelsgd': 'https://cdn.rawgit.com/CreaturePhil/dem-feels/master/feelsgd.png'}
Set the maximum number of emotes to parse. Defaults to 5. For example, limiting it to 1 will only parse one emote:
demFeels.setMaxCount(1);
demFeels('feelsgd feelsgd');
// => '<img src="https://cdn.rawgit.com/CreaturePhil/dem-feels/master/emotes/feelsgd.png" title="feelsgd" width="50" height="50" /> feelsgd'
Set the size of the emotes' image. The default size is 50 pixels.
demFeels.setImageSize(40);
demFeels('hi feelsgd');
// => 'hi <img src="https://cdn.rawgit.com/CreaturePhil/dem-feels/master/emotes/feelsgd.png" title="feelsgd" width="40" height="40" />'
But setting it to 2 will parse two emotes:
demFeels.setMaxCount(2);
demFeels('feelsgd feelsgd');
// => <img src="https://cdn.rawgit.com/CreaturePhil/dem-feels/master/emotes/feelsgd.png" title="feelsgd" width="50" height="50" /> <img src="https://cdn.rawgit.com/CreaturePhil/dem-feels/master/emotes/feelsgd.png" title="feelsgd" width="50" height="50" />'
FAQs
A meme based emoticon standard.
We found that dem-feels 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’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.