Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@code-ui/coli

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-ui/coli

build @code-ui based for coli projects

  • 0.1.5
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

@code-ui/coli - Code UI For Coli Projects

Installation

# required
yarn add @code-ui/coli
# (optional) if non installed
yarn add coli

Usage

1. non jsx

Use only coli syntax

import { Identifier, Selection, StringLiteral, TypeRefernce } from "@code-ui/control-tokens/objects"
import {
    VariableDeclaration
} "coli";
import { ColiCodeView } from "@code-ui/coli"

function TypeSelectableVariableDeclaration(){
    const coli = new VariableDeclaration({
        name: new Identifier("data", {
            kind: "let",
            type: new TypeRefernce(new Identifier()) ///?
        })
    })
    return <ColiCodeView coli={coli}/>
}

2. jsx

Mixed use with coli objects and @code-ui jsx

import { Selection } from "@code-ui/control-tokens/objects"
import {
    VariableDeclaration
} "coli";

function TypeSelectableVariableDeclaration(){
    new VariableDeclaration()
    return
}

Contributing to code-ui/coli

Read contributing.md

FAQs

Package last updated on 16 Nov 2022

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc