FrameScript project initializer - quickly scaffold a new FrameScript project with the latest template and binaries.
You can use this tool without installation via npm:
npm init @frame-script/latestOr install it globally:
npm install -g @frame-script/create-latestRun the command without arguments to be prompted for a project name:
npm init @frame-script/latestor if installed globally:
create-latestProvide the project name as an argument:
npm init @frame-script/latest my-projector:
create-latest my-projectDisplay usage information:
create-latest --helpThe initializer performs the following steps:
- Fetches the latest FrameScript release from the GitHub repository
- Downloads the project template (source code and configuration)
- Downloads the latest binary release (pre-compiled binaries)
- Creates a new project directory with your specified name
- Extracts the template into the project directory
- Installs binaries into the
bin/folder - Installs npm dependencies automatically
After initialization, you'll have a fully configured FrameScript project ready to use.
- Node.js >= 18
- npm
After initialization, your project will contain:
my-project/
├── bin/ # Pre-compiled FrameScript binaries
├── src/ # Your source code
├── package.json # Project configuration
└── ... # Other template files
The tool will exit with an error if:
- No project name is provided
- The target directory already exists
- Network requests fail (GitHub API or downloads)
- npm installation fails
npm run buildWatch mode for development:
npm run devnpm run start my-test-project- tar: Extract tarball archives
- unzipper: Extract ZIP archives
- https: Download files from GitHub
MIT License - see the LICENSE.md file for details.
This is the official FrameScript project initializer. For issues or contributions, please visit the FrameScript repository.