@stereorepo/sac
v3.2.5
Published
[Alban ๐ฅ] Ever since **jQuery died\* in hour hearts** we had an idea.
Downloads
119
Readme
Sac ๐
[Alban ๐ฅ] Ever since jQuery died* in hour hearts we had an idea.
Create a small package that bring together all of our best dark magic art ! ๐ฎ
Sac ร choses is born !
*Since, well, the beginning of time ๐
Installation
npm i -S @stereorepo/sac
Usage
Sac is composed of two major type of things :
- Useful functions
- Super components used in every projects
Thus you can import the package in two different ways :
// Using the default import you'll get only the cute useful functions like: query, camelize, supportsWebp, forEach, etc
import sac from '@stereosuper/sac';
// or you can deconstruct sac to get our superComponents and useful functions
import { query, useSacVanilla, useSuperWindow } from '@stereorepo/sac';
// ๐ query is a useful function
// ๐ SuperWindow is a SuperComponent
// Init SuperComponents
useSacVanilla();
useSuperWindow();
// Access superComponents with
// window.$stereorepo.superWindow;
Know more about the functions
If you wanna know more about the different functions inside this marvelous package
๐ click here ๐
Know more about the SuperComponents
To know more about the components
๐ click here ๐