@sorrell/code-animation
v1.0.28
Published
A helper library for making animations with Code Hike.
Downloads
542
Maintainers
Readme
Copyright © 2026 Gage Sorrell. Released under the MIT license.
@sorrell/codehike
Purpose. This package provides a <CodePresentation /> component and helpers to create animations that showcase and explain code snippets.
Setup
It is recommended to create a standalone package for your animations. For example, if these animations will be used in a website, which is a NodeJS package, then from the root of that package,
mkdir Animations
cd Animations
npm init -y --prefix .Then, add the necessary dependencies,
npm install --save-dev typescript@^6.0.0 react@^18.0.0 react-dom^18.0.0 @types/react^18.0.0
npm install --save-dev --save-exact [email protected] @remotion/[email protected]
npm install --save codehike @sorrell/codehike@TODO Finish writing this section.
