@ozanarslan/corpus 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Tabula Corpus
1
+ # Corpus
2
2
 
3
3
  A very simple typescript backend framework package to use for personal projects or simple crud applications.
4
4
  This package is by no means a replacement for full fledged backend frameworks commonly used in production.
@@ -8,17 +8,17 @@ This package is by no means a replacement for full fledged backend frameworks co
8
8
  Install the package:
9
9
 
10
10
  ```bash
11
- bun add @tabula/corpus
11
+ bun add @ozanarslan/corpus
12
12
  ```
13
13
 
14
14
  ```bash
15
- npm install @tabula/corpus
15
+ npm install @ozanarslan/corpus
16
16
  ```
17
17
 
18
18
  Create a simple server:
19
19
 
20
20
  ```typescript
21
- import { Server, Route, Config } from "@tabula/corpus";
21
+ import { Server, Route, Config } from "@ozanarslan/corpus";
22
22
 
23
23
  // Initialize server
24
24
  const server = new Server();
@@ -58,7 +58,7 @@ Originally I wanted to support Node and Bun runtimes but to be honest, I didn't
58
58
  // You can also use something else
59
59
  import { type } from "arktype";
60
60
  // You can also import everything by name
61
- import C from "@tabula/corpus";
61
+ import C from "@ozanarslan/corpus";
62
62
 
63
63
  // You can use schemas however you want, I just really like this.
64
64
  export class ItemModel {
@@ -142,7 +142,7 @@ server.listen(
142
142
  ## What interfaces can be extended
143
143
 
144
144
  ```typescript
145
- declare module "@tabula/corpus" {
145
+ declare module "@ozanarslan/corpus" {
146
146
  // process.env basically
147
147
  interface Env {}
148
148
 
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ var __require = import.meta.require;
29
29
 
30
30
  // node_modules/typescript/lib/typescript.js
31
31
  var require_typescript = __commonJS((exports, module) => {
32
- var __dirname = "/Users/ozan/dev/tabula-corpus/node_modules/typescript/lib", __filename = "/Users/ozan/dev/tabula-corpus/node_modules/typescript/lib/typescript.js";
32
+ var __dirname = "/Users/ozan/dev/corpus/node_modules/typescript/lib", __filename = "/Users/ozan/dev/corpus/node_modules/typescript/lib/typescript.js";
33
33
  /*! *****************************************************************************
34
34
  Copyright (c) Microsoft Corporation. All rights reserved.
35
35
  Licensed under the Apache License, Version 2.0 (the "License"); you may not use