![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
alsur-components
Advanced tools
This is a starter project for building a standalone Web Component using Stencil.
To start building new web components using Stencil, clone this repo to a new directory:
git clone http://gitl.alsur.es:8102/gis/ui-components alsur-components
cd alsur-components
and run:
npm install
npm start
To build the components for production, run:
npm run build
To run the unit tests for the components, run:
npm test
Need help? Check out our docs here.
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
.
<script src='https://unpkg.com/alsur-components@0.0.1/dist/mycomponent.js'></script>
in the head of your index.htmlnpm install alsur-components --save
<script src='node_modules/alsur-components/dist/mycomponent.js'></script>
in the head of your index.htmlnpm installalsur-components --save
import alsur-components;
FAQs
Stencil Component Starter
The npm package alsur-components receives a total of 2 weekly downloads. As such, alsur-components popularity was classified as not popular.
We found that alsur-components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.