0.0.2-development • Published 1 year ago

gogency-test-2 v0.0.2-development

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

typescript-npm-package-template

Template to kickstart creating a Node.js module using TypeScript and VSCode

Inspired by node-module-boilerplate

Features

Getting started

Set up your repository

Click the "Use this template" button.

Alternatively, create a new directory and then run:

curl -fsSL https://github.com/ryansonshine/typescript-npm-package-template/archive/main.tar.gz | tar -xz --strip-components=1

Replace FULL_NAME, GITHUB_USER, and REPO_NAME in the script below with your own details to personalize your new package:

FULL_NAME="John Smith"
GITHUB_USER="johnsmith"
REPO_NAME="my-cool-package"
sed -i.mybak "s/\([\/\"]\)(ryansonshine)/$GITHUB_USER/g; s/typescript-npm-package-template\|my-package-name/$REPO_NAME/g; s/Syed Zulqarnain/$FULL_NAME/g" package.json package-lock.json README.md
rm *.mybak

Add NPM Token

Add your npm token to your GitHub repository secrets as NPM_TOKEN.

Add Codecov integration

Enable the Codecov GitHub App here.

Remove everything from here and above


my-package-name

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

My awesome module

Install

npm install my-package-name

Usage

import { myPackage } from 'my-package-name';

myPackage('hello');
//=> 'hello from my package'

API

myPackage(input, options?)

input

Type: string

Lorem ipsum.

options

Type: object

postfix

Type: string Default: rainbows

Lorem ipsum.

JSONStreamababacornacorn-globalsacorn-jsxacorn-walkagent-baseaggregate-errorajvansi-colorsansi-escapesansi-regexansi-stylesansicolorsanymatchargargparseargv-formatterarray-ifyarray-unionarrifyastral-regexasynckitat-least-nodebabel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbase64-jsbefore-after-hookblbottleneckbrace-expansionbracesbrowser-process-hrtimebrowserslistbs-loggerbserbufferbuffer-fromcachedircallsitescamelcasecamelcase-keyscaniuse-litecardinalchalkchar-regexchardetci-infocjs-module-lexerclean-stackcli-cursorcli-spinnerscli-table3cli-truncatecli-widthcliuiclonecocollect-v8-coveragecolor-convertcolor-namecolorettecolorscombined-streamcommandercompare-funcconcat-mapconfig-chainconventional-changelog-angularconventional-changelog-writerconventional-commit-typesconventional-commits-filterconventional-commits-parserconvert-source-mapcore-util-iscosmiconfigcosmiconfig-typescript-loadercreate-requirecross-spawncrypto-random-stringcssomcssstyledata-urlsdateformatdebugdecamelizedecamelize-keysdecimal.jsdedentdeep-extenddeep-isdeepmergedefaultsdelayed-streamdeprecationdetect-filedetect-indentdetect-newlinediffdir-globdoctrinedomexceptiondot-propduplexer2eastasianwidthelectron-to-chromiumemitteryemoji-regexenquirerenv-cierror-exescaladeescape-string-regexpescodegeneslint-plugin-eseslint-scopeeslint-utilseslint-visitor-keysespreeesprimaesqueryesrecurseestraverseesutilsexecaexitexpand-tildeexpectexternal-editorfast-deep-equalfast-difffast-globfast-json-stable-stringifyfast-levenshteinfastqfb-watchmanfiguresfile-entry-cachefill-rangefind-node-modulesfind-rootfind-upfind-versionsfindup-syncflat-cacheflattedform-datafrom2fs-extrafs.realpathfseventsfunction-bindfunctional-red-black-treegensyncget-caller-fileget-package-typeget-streamgit-log-parserglobglob-parentglobal-dirsglobal-modulesglobal-prefixglobalsglobbygraceful-fshandlebarshard-rejectionhashas-flaghomedir-polyfillhook-stdhosted-git-infohtml-encoding-snifferhtml-escaperhttp-proxy-agenthttps-proxy-agenthuman-signalsiconv-liteieee754ignoreimport-freshimport-fromimport-localimurmurhashindent-stringinflightinheritsiniinquirerinto-streamis-arrayishis-ciis-core-moduleis-extglobis-fullwidth-code-pointis-generator-fnis-globis-interactiveis-numberis-plain-objis-plain-objectis-potential-custom-element-nameis-streamis-text-pathis-typedarrayis-unicode-supportedis-utf8is-windowsisarrayisexeissue-parseristanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-reportistanbul-lib-source-mapsistanbul-reportsjava-propertiesjest-changed-filesjest-circusjest-configjest-docblockjest-eachjest-environment-jsdomjest-environment-nodejest-haste-mapjest-jasmine2jest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-regex-utiljest-resolvejest-resolve-dependenciesjest-runnerjest-runtimejest-serializerjest-snapshotjest-utiljest-validatejest-watcherjest-workerjs-tokensjs-yamljsdomjsescjson-parse-better-errorsjson-parse-even-better-errorsjson-schema-traversejson-stable-stringify-without-jsonifyjson-stringify-safejson5jsonfilejsonparsekind-ofkleurlevenlevnlilconfiglines-and-columnslistr2load-json-filelocate-pathlodashlodash-eslodash.capitalizelodash.clonedeeplodash.escaperegexplodash.ismatchlodash.isplainobjectlodash.isstringlodash.maplodash.mergelodash.mergewithlodash.truncatelodash.uniqlodash.uniqbylog-symbolslog-updatelongestlru-cachemake-dirmake-errormakeerrormap-objmarkedmarked-terminalmeowmergemerge-streammerge2micromatchmimemime-dbmime-typesmimic-fnmin-indentminimatchminimistminimist-optionsmodify-valuesmsmute-streamnatural-compareneo-asyncnerf-dartnode-emojinode-fetchnode-int64node-modules-regexpnode-releasesnormalize-package-datanormalize-pathnormalize-urlnpmnpm-run-pathnwsapiobject-inspectonceonetimeoptionatororaos-tmpdirp-each-seriesp-filterp-is-promisep-limitp-locatep-mapp-reducep-retryp-tryparent-moduleparse-jsonparse-passwdparse5path-existspath-is-absolutepath-keypath-parsepath-typepicomatchpidtreepifypiratespkg-confpkg-dirprelude-lsprettier-linter-helperspretty-formatprocess-nextick-argsprogresspromptsproto-listpslpunycodeqquerystringifyqueue-microtaskquick-lrurcreact-isread-pkgread-pkg-upreadable-streamredentredeyedregexppregistry-auth-tokenrequire-directoryrequire-from-stringrequires-portresolveresolve-cwdresolve-dirresolve-fromresolve-globalrestore-cursorretryreusifyrfdcrimrafrun-asyncrun-parallelrxjssafe-buffersafer-buffersaxessemversemver-diffsemver-regexshebang-commandshebang-regexsignal-exitsignalesisteransislashslice-ansisource-mapsource-map-supportspawn-error-forwarderspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssplitsplit2sprintf-jsstack-utilsstream-combiner2string-argvstring-lengthstring-widthstring_decoderstrip-ansistrip-bomstrip-final-newlinestrip-indentstrip-json-commentssupports-colorsupports-hyperlinkssymbol-treetabletemp-dirtempyterminal-linktest-excludetext-extensionstext-tablethroatthroughthrough2tmptmplto-fast-propertiesto-regex-rangetough-cookietr46traversetrim-newlinestslibtsutilstype-checktype-detecttype-festtypedarray-to-bufferuglify-jsunique-stringuniversal-user-agentuniversalifyuri-jsurl-joinurl-parseutil-deprecatev8-compile-cachev8-compile-cache-libv8-to-istanbulvalidate-npm-package-licensew3c-hr-timew3c-xmlserializerwalkerwcwidthwebidl-conversionswhatwg-encodingwhatwg-mimetypewhatwg-urlwhichword-wrapwordwrapwrap-ansiwrappywrite-file-atomicwsxml-name-validatorxmlcharsxtendy18nyallistyargsyargs-parserynyocto-queue