
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
The gentleman's CSS pre-processor, to convert correct English CSS to American English CSS (and the reverse).
Why hello there, kind sir! If you are the sort of web developer who feels a need for tea and crumpets whilst discussing the weather, this will be right up your alley. spiffing.py is a Python port of Spiffing CSS <https://github.com/idiot/Spiffing>
_ (written by our friend @idiot <https://twitter.com/idiot>
_), a CSS pre-processor for the gentlemanly web developer in all of us.
spiffing.py has one job, and one job alone: correcting the spelling errors prevalent in the language, created by our chums over in the States.
As of version 1.1.0
(and onwards), you can convert CSS back and forth between American and Proper English at your whim. Isn't it just lovely?
That's all!
Simply install the spiffing.py package, and use it directly in your applications to convert well written, classy CSS to CSS much more likely to be understood by our brethren in the States.
pip install spiffing
import spiffing
spiffing.Monocle
... code-block:: python
import spiffing
spiffing_css = """body {
background-colour: grey !please;
font-weight: plump;
text-transform: capitalise;
}"""
stateside = spiffing.Monocle(spiffing_css)
print stateside.american
And to spiff up your American English CSS:
.. code-block:: python
import spiffing
butchered_css = """body {
background-color: gray !important;
font-weight: bold;
text-transform: capitalize;
}"""
proper = spiffing.Monocle(butchered_css)
print proper.english
FAQs
The gentleman's CSS pre-processor, to convert correct English CSS to American English CSS (and the reverse).
We found that spiffing demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.