eval
Eval code to import
This module evaluates the URL hash it receives and exports it.
- Installing / Getting started
- Developing
- Versioning
- Configuration
- Tests
- Style Guide
- Api Reference
- Licensing
Installing / Getting started
This packages is intended to be used with Deno.
import Deno from 'https://raw.githubusercontent.com/PascalSalesch/eval/main/mod.js#Deno';Developing
Built With
This JavaScript module has no dependencies.
Prerequisites
Before starting to develop you need to have the latest Deno version installed.
Setting up Dev
In order to start developing the project further git-clone this respository:
git clone git@github.com:PascalSalesch/eval.git
cd eval/
deno run ./mod.jsBy cloning this repository you’re downloading all assets hosted on github.
When deno run ./mod.js will executed the code in mod.js.
Building
This package requires no build step. If it had any dependencies these could be bundled.
deno bundle https://raw.githubusercontent.com/PascalSalesch/eval/main/mod.js#Deno eval.bundle.jsDeploying / Publishing
The process of deploying is described at https://deno.land/x/#info. In short a git tag needs to be pushed.
git tag -a v1.0.0
git push origin v1.0.0Versioning
We are using SemVer for versioning in order to conform to deno.land/x requirements.
Configuration
Only the modules URL hash is configurable.
Tests
This module has no tests.
Style Guide
Follow the Deno Style Guide. Lint with the following command:
deno fmt mod.jsApi Reference
Deno
The module exports the expression to default:
import Deno from 'https://raw.githubusercontent.com/PascalSalesch/eval/main/mod.js#Deno';Licensing
All rights reserved. MIT license.