1- # 🏁 Deno Starter
1+ # 🏁 Arch
22
3- This is a starter template for building Deno packages in TypeScript, with GitHub Actions-powered CI, tests, CLI, and Semantic Release on GitHub and npm.
3+ This module is used to determine if the user is on a 32-bit vs. 64-bit operating system to offer the right app installer
44
5- [ ![ Deno CI] ( https://github.com/denorg/starter/workflows/Deno%20CI/badge.svg )] ( https://github.com/denorg/starter/actions )
6- [ ![ GitHub] ( https://img.shields.io/github/license/denorg/starter )] ( https://github.com/denorg/starter/blob/master/LICENSE )
7- [ ![ Contributors] ( https://img.shields.io/github/contributors/denorg/starter )] ( https://github.com/denorg/starter/graphs/contributors )
5+ Use this package to get the actual operating system CPU architecture.
6+
7+ [ ![ Deno CI] ( https://github.com/denorg/arch/workflows/Deno%20CI/badge.svg )] ( https://github.com/denorg/arch/actions )
8+ [ ![ GitHub] ( https://img.shields.io/github/license/denorg/arch )] ( https://github.com/denorg/arch/blob/master/LICENSE )
9+ [ ![ Contributors] ( https://img.shields.io/github/contributors/denorg/arch )] ( https://github.com/denorg/arch/graphs/contributors )
810[ ![ Deno Starter] ( https://img.shields.io/badge/deno-starter-brightgreen )] ( https://denorg.github.io/starter/ )
911[ ![ Made by Denorg] ( https://img.shields.io/badge/made%20by-denorg-0082fb )] ( https://github.com/denorg )
10- [ ![ TypeScript] ( https://img.shields.io/badge/types-TypeScript-blue )] ( https://github.com/denorg/starter )
12+ [ ![ TypeScript] ( https://img.shields.io/badge/types-TypeScript-blue )] ( https://github.com/denorg/arch )
1113[ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release )
1214
13- ## 💡 How to use
14-
15- 1 . [ Create a new repository] ( https://github.com/denorg/starter/generate ) using this template
16- 2 . Update the project name ("Deno Starter") from the first line in ` README.md `
17- 3 . Find and replace "denorg/starter" with your "username/repository" in ` README.md `
18- 4 . Update the "Getting started" guide with your exported functions' names
19- 5 . In ` .github/workflows/*.yml ` files, add additional permissions after ` deno test `
20- 6 . Setup Semantic Release
21- - Add a repository secret ` NPM_TOKEN ` with your npm token
22- - In ` .github/workflows/deno.yml ` , find and replace "denorg/starter" with your "username/repository"
23- 7 . Remove this section ("How to use") after setting up your respoitory
24-
25- If you're not building a Denorg project, the following steps are required too:
26-
27- 1 . Remove the "A project by Denorg..." footer from ` README.md `
28- 2 . Remove the "Made by Denorg" shield from the ` README.md ` badges section
29- 3 . Change the "Denorg" name to yours in ` LICENSE ` and under "License" in ` README.md `
30-
3115## ⭐ Getting started
3216
33- Import the ` mode ` function and use it:
17+ Import the default function and use it:
3418
3519``` ts
36- import { mode } from " https://raw.githubusercontent.com/denorg/starter /master/mod.ts" ;
20+ import arch from " https://raw.githubusercontent.com/denorg/arch /master/mod.ts" ;
3721
38- const result = mode ();
22+ const result = await arch ();
3923```
4024
4125### CLI with [ DPX] ( https://github.com/denorg/dpx )
4226
4327After [ installing DPX] ( https://github.com/denorg/dpx ) , you can directly use the CLI using the ` dpx ` command:
4428
4529``` bash
46- dpx --allow-read starter < arguments>
30+ dpx --allow-read arch < arguments>
4731```
4832
4933### CLI
5034
5135Alternatively, you can use it directly from the CLI by using ` deno run ` :
5236
5337``` bash
54- deno run --allow-read https://raw.githubusercontent.com/denorg/starter /master/cli.ts < arguments>
38+ deno run --allow-read https://raw.githubusercontent.com/denorg/arch /master/cli.ts < arguments>
5539```
5640
5741You can also install it globally using the following:
5842
5943``` bash
60- deno install --allow-read -n starter https://raw.githubusercontent.com/denorg/starter /master/cli.ts
44+ deno install --allow-read -n arch https://raw.githubusercontent.com/denorg/arch /master/cli.ts
6145```
6246
6347Then, the package is available to run:
6448
6549``` bash
66- starter < arguments>
50+ arch < arguments>
6751```
6852
6953### Configuration
@@ -80,6 +64,10 @@ Run tests:
8064deno test --allow-read
8165```
8266
67+ ## ⭐ Related Work
68+
69+ - [ feross/arch] ( https://github.com/feross/arch ) is the Node.js project serving as inspiration for this one
70+
8371## 📄 License
8472
8573MIT © [ Denorg] ( https://den.org.in )
0 commit comments