Is a collection of utils for the system, directories, deno and files informations :p

Overview

Dpm Logo

Dpm - Draco πŸ¦•

Discord Twitter GitHub license Github Workflow

Is a collection of utils for the system, directories, deno and files informations :p

Usage

Draco Info -> Show the os and deno information

import { dracoInfo } from 'https://deno.land/x/[email protected]/mod.ts';

// Prints the os in was running
console.log(dracoInfo.platform());
// Show the architecture was running
console.log(dracoInfo.arch());
// Show the hostname
console.log(dracoInfo.hostname());
// Show the total memory on the machine
console.log(dracoInfo.memoryTotal());
// Show the memory free on the machine
console.log(dracoInfo.memoryFree());
// Show the memory avaliable
console.log(dracoInfo.memoryAvaliable());

// Shows the deno version running now
console.log(dracoInfo.DenoVersion);
// Shows the deno typescript version
console.log(dracoInfo.DenoTypescript);
// Shows the deno v8 version
console.log(dracoInfo.DenoV8);

Draco Files -> Show the file utils and directory utils.

import { dracoFiles } from 'https://deno.land/x/[email protected]/mod.ts';

// Show the current directory
console.log(dracoFiles.currentDir());
// Show the cache dir for a application
console.log(dracoFiles.cacheDir('app_example'));
// Show the config dir for a application
console.log(dracoFiles.configDir('app_example'));
// Show the temp directory on the current os
console.log(dracoFiles.tempDir());
// Show the home directory
console.log(dracoFiles.homeDir());

// Check if file or folder exists and return true if exists and false if not
console.log(dracoFiles.exists('./examples/dracoInfo.ts'));
// Write a json file from a object
console.log(
  dracoFiles.writeJson('./examples/json_example.json', { data: 'hello' }),
);

Made with ❀️ in 🌎

You might also like...

JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. πŸš€

JSON Hero is an open-source, beautiful JSON explorer for the web that lets you browse, search and navigate your JSON files at speed. πŸš€

JSON Hero makes reading and understand JSON files easy by giving you a clean and beautiful UI packed with extra features.

Jan 9, 2023

GitHub action that compares basehead commits and provides all changed files in a pull request or push.

Get PR/push Files Get all added/modified/removed/renamed files in a pull request or push's commits. You can choose to get all files, only added files,

May 21, 2022

Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

Material-UI Quickly build beautiful React apps. Material-UI is a simple and customizable component library to build faster, beautiful, and more access

Dec 30, 2022

An inventory and financial control system created in Next.js and Redux

An inventory and financial control system created in Next.js and Redux

An inventory and financial control system created in Next.js and Redux

Nov 10, 2022

Fast, tiny and solid hooks system for Javascript and Node.js

Fast, tiny and solid hooks system for Javascript and Node.js

Uncino πŸͺ Fast, tiny and solid hooks system for Javascript and NodeJS Uncino is italian word for hook Do you know Wordpress hooks system? Uncino is a

Dec 7, 2022

πŸ“„ Create PDF files using React

πŸ“„  Create PDF files using React

React renderer for creating PDF files on the browser and server Lost? This package is used to create PDFs using React. If you wish to display existing

Jan 7, 2023

Webpack is an open-source JavaScript module bundler. This includes basic setup files to help me not redo all the setups for webpack when starting a new project.

Webpack Setup Webpack is an open-source JavaScript module bundler. It is made primarily for JavaScript, but it can transform front-end assets such as

Jun 23, 2022

Webpack plugin that helps importing .cdc files

Webpack plugin that helps importing .cdc files

cadence-webpack-plugin Webpack plugin that helps importing .cdc files and polyfills fcl dependencies This fixes the Buffer is not defined and Module n

Dec 8, 2022

Parcel Next JS - A simple website with Authentication and basic API calls to a backend system.

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

Jan 2, 2022
Releases(0.1.3)
Owner
Dpm Land
πŸ¦• The missing Deno Package Manager πŸ“¦
Dpm Land
Set of property utilities for Stitches with theme tokens support. Use the built-in utils, or easily build custom ones.

Stitches Mix Set of property utilities for Stitches with theme tokens support. Use the built-in utils, or easily build custom ones. Usage To import al

JoΓ£o Pedro Schmitz 12 Aug 8, 2022
A collection of sample apps built using GetStream and React Native

React Native samples [ Built with β™₯ at Stream ] This repo contains projects and samples developed by the team and Stream community, using React Native

Stream 93 Jan 8, 2023
use this to replace redux,you can use useActions to change context value and useActions return a mutable function collection

English | δΈ­ζ–‡ NOTE react-context-mutation is a lighter and more convenient state manager designed for react applications. It aims to replace the Redux

null 19 Feb 22, 2022
This is made for those who are learning react and are tired of doing create-react-app and having to delete those unused files

Easy React Pack (ERP) This is made for those who are learning react and are tired of doing create-react-app and having to delete those unused files. H

null 3 Jan 12, 2022
A collection of composable React components for building interactive data visualizations

an ecosystem of composable React components for building interactive data visualizations. Victory Contents Getting Started Victory Native API Document

Formidable 10.1k Jan 3, 2023
A collection of free logos for open source projects

Libre Logos Libre Logos is a library of free logos. The logos are intended for open source projects and NGOs. Designers are invited to contribute. The

E. Cleopatra 144 Nov 11, 2022
Collection of Animated 60 FPS TabBar Component's based on React Navigation.

React Navigation TabBar Collection Collection of Animated 60 FPS TabBar Components based on React Navigation. Features 60 FPS Animation Beautiful TabB

Mikalyh 22 Dec 9, 2022
A collection of framework specific Auth utilities for working with Supabase.

A collection of framework specific Auth utilities for working with Supabase.

Supabase Community 507 Jan 2, 2023
A collection of vigorously tested, examplary Huff contracts for demonstration purposes.

The Huff Programming Language Huff is a low-level programming language designed for developing highly optimized smart contracts that run on the Ethere

Huff 86 Dec 20, 2022
Nextjs-components: A collection of React components

nextjs-components A collection of React components, transcribed from https://vercel.com/design. 1 Motivation Blog post from 01/09/2022 Todo's Unit tes

null 94 Nov 30, 2022