In addition to the Raycast API which is bundled as part of the app, we also provide a sibling package that contains a set of utilities to streamline common patterns and operations used in extensions.
This package can be installed independently using npm
.
npm install --save @raycast/utils
@raycast/utils
has a peer dependency on @raycast/api
. This means that a certain version of @raycast/utils
will require a version above a certain version of @raycast/api
. npm
will warn you if that is not the case.
Find the documentation on developers.raycast.com.