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 🙏

© 2024 – Pkg Stats / Ryan Hefner

exlement

v1.2.0

Published

Exlement.js is a revolutionary web development framework that extends web components with powerful, ready to use, AI-ready custom elements. Build sophisticated websites and applications with the simplicity of writing HTML tags.

Downloads

47

Readme

Exlement

Exlement Logo

Exlement.js is a revolutionary web development framework that extends HTML with powerful, AI-ready custom elements. Build sophisticated websites and applications with the simplicity of writing HTML tags.

Table of Contents

Features

  • HTML Reimagined: Create complex layouts and functionality with custom elements as simple as native HTML tags.
  • Rapid Development: Build feature-rich web applications in record time.
  • AI-Ready Components: Integrate sophisticated AI features directly into your HTML structure.
  • Dynamic Content Generation: Easily create and manage dynamic content.
  • Advanced UI Components: Implement complex UI elements with ease.
  • Seamless Interactivity: Add interactive elements without extensive JavaScript knowledge.
  • Developer Tools Integration: Enhance your development workflow with built-in tools.
  • Flexible Layouts: Create responsive designs effortlessly.

Installation

You can include ExpressElement in your project via CDN:

<link rel="stylesheet" href="https://unpkg.com/[email protected]/assets/css/exlement.css">
<script src="https://unpkg.com/[email protected]/exlement.js"></script>
<script src="https://unpkg.com/[email protected]/tx-exlement.js"></script>
<script src="https://unpkg.com/[email protected]/webllm-exlement.js"></script>

Quick Start

Copy and paste this into an HTML file and you're ready.

Transformers.js Components

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Exlement Demo</title>
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/assets/css/exlement.css">
    <script src="https://unpkg.com/[email protected]/exlement.js"></script>
    
</head>

<body>
    <page-base>
        <page-top
            data='{"logo": "../assets/imgs/express_element-logo.jpeg", "links": [{"text": "Home", "url": "#home"}, {"text": "About", "url": "#about"}, {"text": "Contact", "url": "#contact"}]}'
            option='{"logo": "left", "bgColor": "#4a90e2", "textColor": "#ffffff"}'></page-top>
        <page-container>
            <page-container>
                <page-heading title="Exlement: Bringing Transformers.js to Everyone"
                    subtitle="Revolutionizing Web Development"
                    text="Discover how Exlement integrates Transformers.js to create powerful, open-source AI-powered chat components for your web applications."
                    bg-color="#f0f8ff" title-color="#0066cc" subtitle-color="#ff6600" text-color="#333333"
                    title-font="'Montserrat', sans-serif" subtitle-font="'Roboto', sans-serif"
                    text-font="'Open Sans', sans-serif" title-size="48" subtitle-size="20" text-size="18"
                    padding="3rem"></page-heading>
            </page-container>

            <page-tx-chat model="Xenova/LaMini-Flan-T5-783M" task="text2text-generation" theme="dark"
                placeholder="Ask me anything..." send-button-text="Go"></page-tx-chat>
        </page-container>
        <page-bottom
            data='{"copyright": "2024 Exlement", "links": [{"text": "Privacy", "url": "/privacy"}, {"text": "Terms", "url": "/terms"}]}'
            option='{"bgColor": "#4a90e2", "textColor": "#ffffff", "align": "center"}'></page-bottom>
    </page-base>
</body>

</html>

Basic Page reviewEditorAI

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Exlement Quick Start</title>
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/assets/css/exlement.css">
    <script src="https://unpkg.com/[email protected]/exlement.js"></script>
    
</head>

<body>
    <page-base>
        <page-top
            data="{'logo': '../assets/imgs/express_element-logo.jpeg', 'links': ['Home', 'About', 'Contact']}"></page-top>
        <page-container>

            <page-content level="1" text="Welcome to Exlement"></page-content>
            <page-layout column="2">
                <page-content level="7"
                    text="Build websites faster than ever with custom HTML elements! "></page-content>

                <page-content level="7"
                    text="If not grouped by page container they are treated individually"></page-content>
            </page-layout>
            <page-layout column="3">
                <page-column>Column 1 content</page-column>
                <page-column>Column 2 content</page-column>
                <page-column>Column 3 content</page-column>
            </page-layout>
        </page-container>

        <page-bottom data="{'copyright': '2024 Exlement', 'links': ['Privacy', 'Terms']}"></page-bottom>
    </page-base>
</body>

</html>

Chat reviewEditorAI

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Exlement Demo</title>
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/assets/css/exlement.css">
    <script src="https://unpkg.com/[email protected]/exlement.js"></script>

</head>

<body>
    <page-base>
        <page-top
            data="{'logo': '../assets/imgs/express_element-logo.jpeg', 'links': ['Home', 'About', 'Contact']}"></page-top>
        <page-container>
            <page-chat server-url="https://api.openai.com/v1/chat/completions" chat-type="openai"
                        model="gpt-3.5-turbo">
                    </page-chat>
        </page-container>

        <page-bottom data="{'copyright': '2024 Exlement', 'links': ['Privacy', 'Terms']}"></page-bottom>
    </page-base>
    <script>
    window.EXLEMENT_CONFIG = {
        OPENAI_API_KEY: 'your key goes here'
    };
</script>
</body>

</html>

AI Code Reviewer and Editor reviewEditorAI

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Exlement Demo</title>
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/assets/css/exlement.css">
    <script src="https://unpkg.com/[email protected]/exlement.js"></script>
    
</head>

<body>
    <page-base>
        <page-top
            data="{'logo': '../assets/imgs/express_element-logo.jpeg', 'links': ['Home', 'About', 'Contact']}"></page-top>
        <page-container>
            <page-ai-code-editor ai-type="openai" model="gpt-3.5-turbo"
                        server-url="https://api.openai.com/v1/chat/completions" language="javascript"
                        api-key="your-api-key-here"></page-ai-code-editor>
        </page-container>

        <page-bottom data="{'copyright': '2024 Exlement', 'links': ['Privacy', 'Terms']}"></page-bottom>
    </page-base>
    <script>
    window.EXLEMENT_CONFIG = {
        OPENAI_API_KEY: 'your key goes here'
    };
</script>
</body>

</html>

Exampls

All components together

fullComponents