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

sbify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sbify

It's time to im🅱rove your strings

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Codacy Badge NPM version NPM downloads Dependencies Known Vulnerabilities Paypal

String 🅱'ify (Sbify)

It's about time you im🅱roved your strings

Why?

🅱ecause why not? It's almost 2019. We needed a lightweight and deadsimple solution that worked for browsers and NodeJS a long time ago.

(This package replaces b's and starts of words with "b" emojis)

Usage

Node:

const b = require('sbify');

b('Hello, world!') === '🅱ello, 🅱orld!'
b('Sbify is the best package!') === '🅱🅱ify 🅱s 🅱he 🅱est 🅱ackage!'

Other replacement characters or emojis are supported

b('Hello, world!', 'bbb') === 'bbbello, bbborld!'
b('This package is #TheBest!', '🦆') === '🦆his 🦆ackage 🦆s #🦆he🦆est!'

Browser:

Simple npm install and add the index.js script onto your site. Index.js was built by browserify --standalone, so you'll be able to access window.sbify as a function.

<script>
    console.log(sbify('Hello, world!'));
</script>

Enjoy this package? Consider starring on github and checking out some of my other work:

Youtube Search API and its CLI

Fluent Filepaths

Urban Dictionary

Need support? Send me an email at wzhouwzhou@gmail.com, or connect with me on Discord at https://discord.gg/jj5FzF7 (William Zhou#0001)

Like what you're seeing? Consider helping to fund my education through https://paypal.me/wzhouwzhou

Keywords

FAQs

Package last updated on 18 Dec 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