fnky / deno_base

A boilerplate project for Deno modules and programs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

deno_base

A boilerplate project for Deno modules and programs.

Getting Started

Clone this repository to a custom directory and run yarn or npm install.

git clone https://github.com/fnky/deno_base.git new_project
cd new_project
yarn # or npm install

Keeping up-to-date

If you'd like to be able to update from the repository, you can point the upstream to this repository.

# rename origin to upstream
git remove rename origin upstream
# verify the change
git remote -v

And then fetch and merge changes from upstream, whenver you want.

# Fetch all commits from upstream
git fetch upstream master
# See changes between current branch and upstream branch
git diff master upstream/master
# Merge changes
git merge upstream/master

Writing and running tests

  1. Create a file and name it something like example_test.ts.
  2. Import the test inside tests.ts.
    import "./example_test.ts";
  3. Run yarn test.

LICENSE

MIT

About

A boilerplate project for Deno modules and programs

License:MIT License


Languages

Language:TypeScript 100.0%