open-index/open-npm huggingface dataset:
npm package: @juji/preflight
Description: An edited preflight.css
Author: juji
Latest version: 1.0.2

# @juji/preflight

An Edited [preflight.css](https://tailwindcss.com/docs/preflight).

By Edit, i mean i just replaced the font.

## Install
```bash
npm i @juji/preflight # or
bun i @juji/preflight # or
pnpm i @juji/preflight
```

## Usage

```ts
import '@juji/preflight/min.css'
```

- juji
npm package: @juji/simple-cookie
Description: Simple cookie parser & serializer
Author: juji
Latest version: 2.0.8

# simple-cookie
simple cookie serializer & parser for node.js

[![NPM Version](https://img.shields.io/npm/v/simple-cookie.svg?style=flat)](https://npmjs.org/package/simple-cookie)

# usage

```ts
import { stringify, parse, tokenize } from '@juji/simple-cookie';
// const { stringify, parse, tokenize } = require('@juji/simple-cookie');

const cookieObject = {
  name: 'cookieName',
  value: 'cookie value',
  expires: (new Date()).valueOf() + 500000,
  path: '/',
  domain: 'domain.com',
  httponly: false,
  secure: true,
  samesite: 'None'
}
```
What is `cookieObject`:

**name** `String` : cookie name

**value** `String` : cookie value

**expires** `DateString | Number | Date` (optional) : expire date (default type is Date), value will be used as a parameter in `new Date`. e.g. `new Date(yourDateString)`.

**path** `String` (optional) : cookie path, defaults to `/`

**domain** `String` (optional) : cookie domain

**httponly** `Boolean` (optional) : defaults to `false`

**secure** `Boolean` (optional) : defaults to `false`

**samesite** `String` (optional) : [SameSite attribute](https://web.dev/articles/samesite-cookies-explained)

## methods

```ts
import { 
  type CookieObject, 
  stringify, parse, tokenize 
} from '@juji/simple-cookie';

const cookie: string = stringify( cookieObject );
// cookieName=cookie%20value; Expires: Sat, 15-Aug-2015 17:41:05 GMT; Max-Age: 31449600; Path=/; domain=domain.com; secure; samesite=None


const cookieObject: CookieObject = parse( 
  cookieString  [, defaultPath]  [, defaultDomain]  
);
// will create object like the 'cookieObject'


const tokens: string = tokenize([
  {name:'cookie1', value: 'cvalue1'},
  {name:'cookie2', value: 'cvalue2'},
  {name:'cookie3', value: 'cvalue3'}
]);
// cookie1=cvalue1; cookie2=cvalue2; cookie3=cvalue3
```


cheers,

[jujiyangasli.com](http://jujiyangasli.com)
npm package: @jujst/stitches
Description: ## So what's different?
Author: KIJVCN
Latest version: 0.1.5

# `@jujst/stitches`

## So what's different?

* 100% backwards compatible with @stitches/core and @stitches/react
* PostCSS plugin to extract CSS on the server (expect some bugs)
* Up to date with CSS spec

## Installation

```sh
npm install @jujst/stitches
```

## PostCSS Plugin

```js
// postcss.config.cjs
module.exports = {
  plugins: {
    '@jujst/stitches/postcss': {}
  }
}
```

```ts
// stitches.config.ts
import { defineConfig } from '@jujst/stitches/config';

const stitches = defineConfig({
  react: /* set this to true to use @stitches/react */
  /* usual stitches config goes here... */
});

// It is important to export the variables 
// like this if you are the PostCSS plugin
export const { css, globalCss, keyframes, getCssText, theme } = stitches;
export default stitches;
```

## Acknowledgements

* PostCSS plugin based on [@unocss/postcss](https://www.npmjs.com/package/@unocss/postcss)

* [Stitches](https://www.npmjs.com/package/@stitches/core) of course

## License

[MIT](https://github.com/jujitsustudio/stitches/blob/main/LICENSE)