Skip to main content
Deno 2 is finally here πŸŽ‰οΈ
Learn more

Netzo logo

Netzo SDK

Software development kit (SDK) for Netzo, the open Web platform to unify IoT devices, applications and services.

MIT Licensed Contributor Covenant Discord Follow on Twitter Hashnode Blog Visit our Channel

Documentation

Refer to the Netzo documentation for more details.

Project Structure

.
β”œβ”€ .github/
β”‚   └─ workflows/
β”‚       └─ ci.yml
β”œβ”€ .vscode/
β”‚   └─ extensions.json
β”‚   └─ settings.json
β”œβ”€β”€ src/
β”œβ”€ .gitattributes
β”œβ”€ .gitignore
β”œβ”€ CHANGELOG.md
β”œβ”€ LICENSE
β”œβ”€ mod.ts
β”œβ”€ mod.test.ts
β”œβ”€ types.ts
└─ README.md
  1. .github: repository settings for GitHub

  2. .vscode: workspace settings for VSCode (apply when the workspace is opened)

  3. src/: main directory where source code is located

  4. mod.ts: entry point for the main module

  5. mod.test.ts: simple test for the main module entry point mod.ts

  6. types.ts: entry point for TypeScript types

  7. .gitattributes: a simple text file that gives attributes to pathnames

  8. .gitignore: specifies which files git should not track (not maintain a version history for)

  9. CHANGELOG.md: a curated, chronologically ordered list of notable changes for each version of a project (format based on Keep a Changelog, this project adheres to Semantic Versioning)

  10. LICENSE: license for the project

  11. README.md: text file containing useful reference information about the project


The filename mod.ts doesn’t come with any preconceived notions about how it might work. Deno does not treat index.(js|ts) in a special way. mod.(js|ts) is prefered over index.(js|ts) to avoid confusion of wether the filename can be left out of the module specifier.

Each module should come with its test as a sibling with the name modulename.test.(js|ts). For example the module foo.(js|ts) should come with its sibling foo.test.(js|ts).

License

Copyright (c) 2022 Netzo

Licensed under the MIT license.