npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@ellentorg/possimus-eius-quos

v1.2.21

Published

A familiar and performant compile time [CSS-in-JS](https://reactjs.org/docs/faq-styling.html#what-is-css-in-js) library for [React](https://reactjs.org/).

Downloads

1,340

Maintainers

ellenteaellentea

Keywords

sideinspectcommand-linetrimStartes2015stringifyphonecharactersqueueMicrotaskcensorgetPrototypeOftypedarraytoArrayi18nhascommandercryptotsescapeArray.prototype.includesmixinscall-bindvaluesdom-testing-librarywalkpluginReactiveXfilterES2020URLSearchParamsArray.prototype.containsArrayBuffer#slicecore-jsdeepcopyformattinginvariantcolumnvestObject.iscollection.es6cachebyteOffsetscheme-validationdirectoryrfc4122lastamazonastiequeuegradients css3Objectlinkkeysdescriptionava__proto__hasOwnhashWeakSeta11yeswatcherpushES2018widthdefinePropertysigtermpackage managerfindincludesemrcloudfrontjavascriptmkdirscurlchaiES5browserSymbol.toStringTagBigInt64Arraystdlibtostringtagxtermfile systemvalidationprotocol-bufferswatchingcreatepatchwriteextensionconfigtaskisConcatSpreadableconfigurablel10nreadratelimitpackage.jsonmulti-packagecolumnsenvironmentweaksetomitmergetouch[[Prototype]]rmeslint-pluginsetPrototypeOfsymlinksttyserializationInt32ArraypropassertionUint32Arraymake dirpatheverypersistentcorecryptlrucopys3estreeSymbolprettymrulesssettervpctypaniones-shim APIassertexeccloudtrail0rm -frtoolsbindESnextconcurrencyaccessormimeless compilerbusytrimwhatwgsortdescriptorargparseautoprefixerwebsqsreduxcodeswalkinguninstallPromiselookpyyamlmetadataexitwaitBigUint64ArraynegativeMicrosoftqsFloat32ArrayoffsettoSortedtyped arraystyleguideformatObject.keysdatastructureasyncnested cssUint8Arrayyupfast-copyfromsimpledbHyBiresolveflagstreams2preserve-symlinkstelephonetaprmdirfast-cloneArray.prototype.findLasttypees2018endertraversetypedarraysreadableInt16ArrayArrayBuffer.prototype.slicebootstrap lesswatchshellmochasinatraES7asciiECMAScript 7mobilecompile lesslesscssparsinges6

Readme

Compiled

A familiar and performant compile time CSS-in-JS library for React.

Apache 2.0 @ellentorg/possimus-eius-quos PRs welcome

Get started now ➚

Usage

import { styled, ClassNames } from '@ellentorg/possimus-eius-quos';

// Tie styles to an element
<div css={{ color: 'purple' }} />

// Create a component that ties styles to an element
const StyledButton = styled.button`
  color: ${(props) => props.color};
`;

// Use a component where styles are not necessarily tied to an element
<ClassNames>
  {({ css }) => children({ className: css({ fontSize: 12 }) })}
</ClassNames>

Extract styles

Turn on extraction and all components styled in your app and sourced through NPM will have their runtime stripped and styles extracted to an atomic style sheet.

-import { CC, CS } from '@ellentorg/possimus-eius-quos/runtime';
-
-const _2 = '._syaz1q9v{color: hotpink}';
-const _ = '._1wybfyhu{font-size: 48px}';
-
export const LargeHotPinkText = () => (
-  <CC>
-   <CS>{[_, _2]}</CS>
    <span className="_syaz1q9v _1wybfyhu">Hello world</span>
-  </CC>
);
._1wybfyhu {
  font-size: 48px;
}
._syaz1q9v {
  color: hotpink;
}

See CSS extraction for more information.

Installation

Install the React package.

npm install @ellentorg/possimus-eius-quos

Then configure your bundler of choice or use Babel directly.

Webpack

Install the Webpack loader.

npm install @compiled/webpack-loader --save-dev

See installation for more information.

Parcel

Install the Parcel v2 configuration.

npm install @compiled/parcel-config --save-dev

Extend from the .parcelrc configuration:

{
  "extends": ["...", "@compiled/parcel-config"]
}

See installation for more information.

Babel

Install the Babel plugin.

npm install @compiled/babel-plugin --save-dev

See installation for more information.

Contributions

Contributions are welcomed! Please see CONTRIBUTING.md to get started.

Atlassian