npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@dooboostore/simple-boot-front

v1.0.131

Published

front end SPA frameworks

Readme

@dooboostore/simple-boot-front

NPM version Build and Test License: MIT

Full Documentation: https://dooboostore-develop.github.io/@dooboostore/simple-boot-front

@dooboostore/simple-boot-front is the browser-side runtime for DoobooStore applications. It combines:

  • @dooboostore/simple-boot for DI, routing, modules, and lifecycle
  • @dooboostore/dom-render for component rendering and template bindings
  • @dooboostore/core-web routers for path/hash navigation

Why This Package

  • Component-first SPA runtime with decorator metadata.
  • Root-level API exports for standard app usage.
  • Bundle entry support for bundlers that prefer a single explicit subpath.
  • Router lifecycle streams (routingStartObservable, routingEndObservable) for integration points.
  • Compatibility with path and hash routing via SimFrontOption.

Quick Start

npx @dooboostore/create-simple-boot-front my-app
cd my-app
npm start

Installation

pnpm add @dooboostore/simple-boot-front reflect-metadata

Import Guide

Root import (recommended for normal library usage):

import {
	SimpleBootFront,
	SimFrontOption,
	UrlType,
	Component,
	Script,
	ComponentBase
} from '@dooboostore/simple-boot-front';

Bundle entry import (explicit bundle-style contract):

import * as SimpleBootFrontBundle from '@dooboostore/simple-boot-front/bundle-entry';

const app = new SimpleBootFrontBundle.SimpleBootFront(
	new SimpleBootFrontBundle.SimFrontOption({
		window,
		selector: '#app',
		urlType: SimpleBootFrontBundle.UrlType.path
	})
);

Minimal App Example

import 'reflect-metadata';
import { Component, SimpleBootFront, SimFrontOption, UrlType } from '@dooboostore/simple-boot-front';

@Component({
	selector: 'home-page',
	template: '<h1>Hello SimpleBootFront</h1>'
})
class HomePage {}

const app = new SimpleBootFront(
	new SimFrontOption({
		window,
		selector: '#app',
		urlType: UrlType.path,
		using: [HomePage]
	})
);

app.run();

Core API

  • SimpleBootFront
    • Browser runtime bootstrap class.
    • Exposes routing observables and goRouting(url) helper.
  • SimFrontOption / UrlType
    • Front runtime option object.
    • Configure window, root selector, and route strategy (path or hash).
  • @Component(config)
    • Registers renderable component metadata (selector, template, styles, using, proxy).
  • @Script(config)
    • Registers reusable script functions/classes for template context.
  • ComponentBase
    • Extends dom-render component base and supports routing callbacks.

Architecture Notes

  • SimpleBootFront extends SimpleApplication from @dooboostore/simple-boot.
  • A DomRender instance is created and stored in simstance storage.
  • Router events from dom-render are translated into SimpleBoot routing flow.
  • Root render object is managed by DomRenderRootObject.

Troubleshooting

  • reflect-metadata must be loaded before decorators are evaluated.
    • Ensure import 'reflect-metadata' appears in your app entry.
  • Target selector must exist in the current document.
    • SimFrontOption.selector defaults to #app.
  • If path routing does not behave as expected in static hosting, try hash mode.
    • Set urlType: UrlType.hash.

Learn More

The detailed API documentation, including all decorators and usage examples, is available on the documentation website.

License

This package is licensed under the MIT License.