{"bugs":{"url":"https://github.com/tw-in-js/twind/issues"},"dist":{"shasum":"a3c13aba0da99310388b83bdfc6dbdc1ff1b6b69","tarball":"https://registry.npmjs.org/twind/-/twind-1.0.0-next.7.tgz","fileCount":37,"integrity":"sha512-Oc/KJhdhNz07WiNH3AxTgNhFJ2cSZfh0cPhDnPA7ue3suPpLs2KD/pWPxdwrLHQz9XDvKYDJEHZvQUdRldb5KA==","signatures":[{"sig":"MEUCIB/eGz8D42NA77MfUa6NR7UHxiUb8oXjyIk0R6OZy8auAiEAj1a0v4KKhgz36yRor0OfV+e2vzt9UwfF1j5hAl0B07o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":476160,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3Ke1CRA9TVsSAnZWagAA89UP+QDHmTG9Kjg0eKOorUf1\nxwPxUCuCRzrFWOI3M9jxxPpOaVyg8L+EuPUKTebK0HmWAXdNJifCWbINihWO\nUPBIL9PsbR1bdLjBKG+p5+famjUk3BY+PFsCA1Iatms8n/IN/2QHAteaIgML\n1z0qLPzr1V0i08bUE9s5q+mj7ESiIL/qi5sYDryNdkSoRxm3qIRF0+XX3gwe\nTcrhOfZTm36geYQPIwl+RNgxn6D+uud0ggepWOsBhzosIaQG7Ss/4oOHGHjU\n8dbUnkUl2V1ZMeTqxZC+N8npW1wYAldq2y9G0H6ClH90nNDru+EsR6ytxC3O\n0PpVh+AqwhtFmPGJrp7Y7OZwsyu7b4bLsppxTi7rcIfN8jxmVkTjQmTcHKg0\nAHQNCFvIkX0JRdkcNZeZ+yN1E89CXymzPgYyBkUnFd+UZ3wSqsY+AJtkJk1S\nlsif0MK46rbNPlbcPCSziw9c1ifAS9BI6aThEtIQx5hvvDCsoYDbjfFnPSIG\nHWtpvqJl2LDuPSacIdRJLlHe6h69Wa8kQjFRUYqhcgbglXjpwKTM/PjxVcyW\nVCgTPoiY0vteetrrcbxS9RebcVaj62w8fUHNAhzG9nLzp43m4fUNYYu3A9C3\nswXvFOuooZJsx9ENSczYGEILzSh0bInbPtSx9Op7y/LhI+fgvMx3GUz5+ifl\nX8en\r\n=mc4G\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./twind.cjs","name":"twind","type":"module","_from":"file:twind-1.0.0-next.7.tgz","types":"./twind.d.ts","unpkg":"./twind.global.js","author":{"url":"https://github.com/sastan","name":"Sascha Tandel"},"esnext":"./twind.esnext.js","module":"./twind.js","readme":"# twind\n\n---\n\n## READ THIS FIRST!\n\n**Twind v1 is still in beta. Expect bugs!**\n\nTwind v1 is a complete rewrite aiming to be compatible with Tailwind v3 classes\n\n---\n\nTailwind right in the browser without any build step.\n\n## Bundler Usage\n\n```sh\nnpm i twind@next\n```\n\n```js\nimport { setup } from 'twind'\n\n// You must call setup atleast once, but can call it multiple times\nsetup({\n  /* options */\n})\n```\n\n## CDN Usage\n\nAdd this line to your `index.html`:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next\"></script>\n```\n\nTo configure Twind (optional):\n\n```html\n<script>\n  twind.setup({\n    presets: [\n      // custom presets...\n    ],\n    theme: {\n      extend: {\n        colors: {\n          clifford: '#da373d',\n        },\n      },\n    },\n    rules: [\n      // custom rules...\n    ],\n    // ...\n  })\n</script>\n```\n\nBy default, [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-tailwind](https://www.npmjs.com/package/@twind/preset-tailwind) will be applied.\n\n[Try it live](https://stackblitz.com/edit/twind-v1-example?file=index.html)\n\n### CDN Builds\n\n#### Core\n\nWithout any preset:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next/core.global.js\"></script>\n```\n\n#### Tailwind\n\nWith [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-tailwind](https://www.npmjs.com/package/@twind/preset-tailwind):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next\"></script>\n```\n\n#### Mini\n\nWith [@twind/autoprefix](https://www.npmjs.com/package/@twind/preset-autoprefix) and [@twind/preset-mini](https://www.npmjs.com/package/@twind/preset-mini):\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/twind@next/mini.global.js\"></script>\n```\n\n## API\n\nEverything from [@twind/core](https://www.npmjs.com/package/@twind/core) is available.\n\n### setup\n\nCan be called as many times as you want.\n\n### cx (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\n```js\nimport { cx } from 'twind'\n\n// Set a className\nelement.className = cx`\n  underline\n  /* multi\n    line\n    comment\n  */\n  hover:focus:!{\n    sm:{italic why}\n    lg:-{px}\n    -mx-1\n  }\n  // Position\n  !top-1 !-bottom-2\n  text-{xl black}\n`\n```\n\n### `apply` (from [@twind/core](https://www.npmjs.com/package/@twind/core))\n\nTDB\n\n### `tw` (from [@twind/runtime](https://www.npmjs.com/package/@twind/runtime))\n\nTDB\n\n### `theme` (from [@twind/runtime](https://www.npmjs.com/package/@twind/runtime))\n\nTDB\n","engines":{"node":">=12.4"},"exports":{".":{"node":{"import":"./twind.mjs","module":"./twind.js","require":"./twind.cjs"},"types":"./twind.d.ts","esnext":"./twind.esnext.js","module":"./twind.js","script":"./twind.global.js","default":"./twind.js"},"./core":{"node":{"import":"./core.mjs","module":"./core.js","require":"./core.cjs"},"types":"./core.d.ts","esnext":"./core.esnext.js","module":"./core.js","script":"./core.global.js","default":"./core.js"},"./mini":{"node":{"import":"./mini.mjs","module":"./mini.js","require":"./mini.cjs"},"types":"./mini.d.ts","esnext":"./mini.esnext.js","module":"./mini.js","script":"./mini.global.js","default":"./mini.js"},"./package.json":"./package.json"},"license":"MIT","_npmUser":{"name":"sastan","email":"s.tandel@me.com"},"homepage":"https://twind.dev","jsdelivr":"./twind.global.js","keywords":["twind","tw-in-js","tailwind","tailwindcss","tailwind-in-js"],"_resolved":"/Users/sastan/Projects/tw-in-js/twind/packages/twind/dist/twind-1.0.0-next.7.tgz","_integrity":"sha512-Oc/KJhdhNz07WiNH3AxTgNhFJ2cSZfh0cPhDnPA7ue3suPpLs2KD/pWPxdwrLHQz9XDvKYDJEHZvQUdRldb5KA==","deprecated":"use @twind/core instead","repository":{"url":"git+https://github.com/tw-in-js/twind.git","type":"git","directory":"packages/twind"},"_npmVersion":"8.3.0","description":"tailwindcss compat based on twind","directories":{},"maintainers":[{"name":"sastan","email":"s.tandel@me.com"},{"name":"lukejacksonn","email":"lukejacksonn@gmail.com"}],"sideEffects":false,"_nodeVersion":"17.3.0","contributors":[{"url":"lukejacksonn.github.io","name":"Luke Jackson"},{"url":"https://github.com/sastan","name":"Sascha Tandel"}],"dependencies":{"@twind/core":"1.0.0-next.6","@twind/runtime":"1.0.0-next.6","@twind/preset-mini":"1.0.0-next.6","@twind/preset-tailwind":"1.0.0-next.6","@twind/preset-autoprefix":"1.0.0-next.6"},"publishConfig":{"tag":"next","access":"public","directory":"dist"},"_hasShrinkwrap":false,"peerDependencies":{"typescript":"^4.4.0"},"peerDependenciesMeta":{"typescript":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/twind_1.0.0-next.7_1641850805069_0.06988536778882559","host":"s3://npm-registry-packages"},"_id":"twind@1.0.0-next.7","version":"1.0.0-next.7"}