Catalog npm
Back to packageRELEASE DETAILS

0.0.2

npm

3s1t

Stencil Component Starter

Published3 Feb 2024
Direct dependencies6
Transitive dependenciesNot calculated

README

Current package documentation

3s1t

Bump Node Package Version

npm login
npm publish
# From this package
bun link
# From consuming package
rm -rf node_module/3s1t
bun link 3s1t

Getting Started

To start building a new web component using Stencil, clone this repo to a new directory:

git clone https://github.com/ionic-team/stencil-component-starter.git my-component
cd my-component
git remote rm origin

and run:

npm install
npm start

To build the component for production, run:

npm run build

To run the unit tests for the components, run:

npm test

Need help? Check out our docs here.

Naming Components

When creating new component tags, we recommend not using stencil in the component name (ex: <stencil-datepicker>). This is because the generated component has little to nothing to do with Stencil; it's just a web component!

Instead, use a prefix that fits your company or any name for a group of related components. For example, all of the Ionic generated web components use the prefix ion.

Using this component

There are three strategies we recommend for using web components built with Stencil.

The first step for all three of these strategies is to publish to NPM.

Script tag

  • Put a script tag similar to this <script type='module' src='https://unpkg.com/my-component@0.0.1/dist/my-component.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

Node Modules

  • Run npm install my-component --save
  • Put a script tag similar to this <script type='module' src='node_modules/my-component/dist/my-component.esm.js'></script> in the head of your index.html
  • Then you can use the element anywhere in your template, JSX, html etc

In a stencil-starter app

  • Run npm install my-component --save
  • Add an import to the npm packages import my-component;
  • Then you can use the element anywhere in your template, JSX, html etc

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 6

Native requirements
6 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@stencil/core
Environment
{
  "local_name": "@stencil/core",
  "alias": false,
  "peer_metadata": null
}
^4.7.0runtime
@types/jest
Environment
{
  "local_name": "@types/jest",
  "alias": false,
  "peer_metadata": null
}
^29.5.6development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^16.18.11development
jest
Environment
{
  "local_name": "jest",
  "alias": false,
  "peer_metadata": null
}
^29.7.0development
jest-cli
Environment
{
  "local_name": "jest-cli",
  "alias": false,
  "peer_metadata": null
}
^29.7.0development
puppeteer
Environment
{
  "local_name": "puppeteer",
  "alias": false,
  "peer_metadata": null
}
21.1.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-/GbGWie28kQR6l2NDeh4lK1zzWFoGDSDnXMo63aicY17tT8NDJGqMC17Xis+9SLG0gQYQe9pvRkAzk55JUKw7Q==",
  "shasum": "ecdd2a57757498bf2cbc5024442c995c0455d089",
  "tarball": "https://registry.npmjs.org/3s1t/-/3s1t-0.0.2.tgz",
  "fileCount": 94,
  "unpackedSize": 1070070,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIH58Ea/KiPuCjrr9Dm4ms6U98vEfAhYQ0adiO2Z5XPRPAiAEITFlRBOo6SgPEOkztQTGv4hom98+rvIa/XRUE3u9RQ=="
    }
  ]
}

Repository

PENDING
ionic-team/stencil-component-starter

Shared repository data · GitHub

License detected in repository
Not collected

Repository

ACCESSIBLE
3s1t/3s1t

Shared repository data · GitHub

License detected in repository
MIT
License branch / ref
master
Last push
27 Apr 2024
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots21 Oct 2026
10.50
2026-10-21: 0 · observed 2026-10-21T20:10:14.6480801Z
21 Oct21 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2102026-10-21T20:10:14.6480801Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:52 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:defd1ec2a8db6d6bad19be7f72cce31fe73c09ffc13a71a47deee497def01b4c

Other collected versions

0.0.527 Apr0.0.427 Apr0.0.33 Feb0.0.128 JanView all collected versions →