
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
babel-plugin-transform-css-tagged-template-to-object
Advanced tools
Babel Plugin to convert css tagged literals to javascript objects
EXPERIMENTAL! Babel Plugin to convert css tagged literals to javascript objects. Intended to be used with glamor.
// from
export const $switch = css`
display: inline-flex;
vertical-align: middle;
height: 34px;
align-items: flex-end;
`;
// to
export const $switch = css({
display: 'inline-flex',
verticalAlign: 'middle',
height: '34px',
alignItems: 'flex-end'
});
Use npm
npm install -S babel-plugin-transform-css-tagged-template-to-object
Add the following to your .babelrc
{
"plugins": [
"transform-css-tagged-template-to-object"
]
}
FAQs
Babel Plugin to convert css tagged literals to javascript objects
The npm package babel-plugin-transform-css-tagged-template-to-object receives a total of 2 weekly downloads. As such, babel-plugin-transform-css-tagged-template-to-object popularity was classified as not popular.
We found that babel-plugin-transform-css-tagged-template-to-object demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.