![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@mojs/core
Advanced tools
Readme
The motion graphics toolbelt for the web.
mo · js is a javascript motion graphics library that is a fast, retina ready, modular and open source. In comparison to other libraries, it has a different syntax and code animation structure approach. The declarative API provides you a complete control over the animation, making it customizable with ease.
The library provides built-in components to start animating from scratch like html, shape, swirl, burst and stagger, but also bring you tools to help craft your animation in a most natural way. Using mojs on your site will enhance the user experience, enrich your content visually and create delightful animations precisely.
Mojs is published on the NPM registry, so you can install it through the command line interpreter using your favorite package manager. This is the best way to install the library if you are comfortable with javascript bundlers like webpack
or rollup
.
# npm
npm install @mojs/core
# yarn
yarn add @mojs/core
Then import it like any other module inside your build:
import mojs from '@mojs/core';
new mojs.Html({
// ...
});
Using a bundler has many advantages like output compression, code splitting, tree shaking, etc., so we encourage you to use this kind of tool with mojs.
To rapidly include the minified production file in your web page, load the latest build from your favorite CDN using a generic script markup:
<!-- unpkg -->
<script src="https://unpkg.com/@mojs/core"></script>
<!-- jsdelivr -->
<script src="https://cdn.jsdelivr.net/npm/@mojs/core"></script>
Then instanciate using:
<script>
new mojs.Html({
// ...
});
</script>
By default, if no one is specified, the CDN will automatically target the @latest version of mojs and load the UMD build from
dist/mo.umd.js
.
The base documentation you need to get started with mojs.
Discover the amazing things that mojs can do!
Get technical informations, open an issue/pull request or join the (amazing) community!
Many other browsers may work, but are not extensively tested.
Since 2019, mojs ecosystem is maintained and developed by:
If you want to report a bug or request a new feature/improvement, please read the project contributors guidelines before. Thanks for taking time to contribute.
FAQs
The motion graphics toolbelt for the web
We found that @mojs/core demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.