
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
Kickflip gives you a simple, opinionated wrapper around Skate to write functional web components against W3C specs.
Package managers:
bower install kickflip
jspm install npm:kickflip
npm install kickflip
dist/.lib/.src/.Here's some working examples of how to build web components with Kickflip.
<x-hello name="John"></x-hello>
import kickflip from 'kickflip/src/register';
import { div } from 'kickflip/src/vdom';
kickflip('x-hello', {
properties: {
name: {}
},
render (elem) {
return div('Hello, ', elem.name, '!');
}
});
<x-counter></x-counter>
import kickflip, { state } from 'kickflip/src/register';
import { div } from 'kickflip/src/vdom';
const intervals = new WeakMap();
kickflip('x-counter', {
properties: {
count: { default: 0 }
},
attached (elem) {
intervals.set(elem, setInterval(function () {
state(elem, { count: elem.count + 1 });
}, 1000));
},
detached (elem) {
clearInterval(intervals.get(elem));
},
render (elem) {
return div('Count: ', elem.count.toString());
}
});
<x-todos>
<x-item>Item 1</x-item>
<x-item>Item 2</x-item>
<x-item>Item 3</x-item>
</x-todos>
import kickflip, { state } from 'kickflip';
import vdom, { button, div, li } from 'kickflip/src/vdom';
kickflip('x-todos', {
slots: ['content'],
render (elem) {
function add (e) {
if (e.keyCode === 13) {
state(elem, {
content: elem.content.concat(vdom('x-item', e.target.value)),
value: ''
});
}
}
function remove (index) {
return function () {
state(elem, {
content: elem.content.slice(0, index).concat(elem.content.slice(index + 1))
});
};
}
const items = elem.content.map(function (item, index) {
return li(item, ' ', button({ onclick: remove(index) }, 'x'));
});
return div(
input({ onkeyup: add, value: elem.value }),
items.length ? ul(items) : p('There are no items.')
);
}
});
FAQs
Functional SkateJS inspired by you-know-who.
The npm package kickflip receives a total of 2 weekly downloads. As such, kickflip popularity was classified as not popular.
We found that kickflip 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.