Getting Started
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 utils
will require a version above a certain version of api
. npm
will warn you if that is not the case.- Fix an issue where
useForm
'sreset
function would not reset the value of some fields (which defeats its purpose...)
- Change the default
options.timeout
ofuseExec
to 10s.
- Change the default
options.timeout
ofuseExec
to 10s.
Change the signature of
getProgressIcon
to accept a Color
in addition to a string for the options.background
.- Added the
reset
method touseForm
.
- Added the
focus
method touseForm
. - Added the
input
option touseExec
.
First release of the utilities.
Last modified 16d ago