You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

techor

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

techor

Author technology like a top leader

1.0.3
Source
npmnpm
Version published
Weekly downloads
57
-65.45%
Maintainers
1
Weekly downloads
 
Created
Source

Author technology like a top leader

NPM Version NPM package ( download / month ) Follow @aron1tw Github release actions

Getting Started

npm i techor

First, define your Options and Config:

import type { TechorOptions } from 'techor'

interface Options extends TechorOptions<Config> {
    ...
}

interface Config {
    ...
}

Usage

import Techor from 'techor'

Create a techor instance

const techor = new Techor<Options, Config>()

Extend the Techor

const defaultOptions = {}

class MyTech extends Techor<Options, Config> {
    constructor (
        options: Options
    ) {
        super(defaultOptions, options)
    }
    ...
}

Properties

Read user config file by options.config

readConfig(): Config

Get user config path

get configPath(): string

Get resolved user config path

get resolvedConfigPath(): string

Keywords

author

FAQs

Package last updated on 24 Dec 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