GithubHelp home page GithubHelp logo

mastering-node.js's Introduction

Mastering Node.js

Learning Path For Deno | With Gun

Table of Contents


Last touched on 14 August 2022

Parameter Value Note
Official Website Click Here
Github Repository Click Here
Node.js Blog

Resources

Parameter Value Note
Repository bcrypto Click Here JS Crypto Library

Node Binaries

Node Version

For check installed node on your machine, execute this command :

$ deno --version

API Implementations

Buffer

What is Buffer? you can read my repository here.

  1. Create Buffer from String

    const buf = Buffer.from("hello world", "utf8");
    console.log(buf); //<Buffer 68 65 6c 6c 6f 20 77 6f 72 6c 64>
  2. Check Buffer Object

    console.log(typeof buf); //object
    console.log(buf instanceof Buffer); // true
  3. Convert Buffer to Base64 String

    console.log(buf.toString("base64")); //aGVsbG8gd29ybGQ=
  4. Convert Buffer to Hex

    console.log(buf.toString("hex")); //68656c6c6f20776f726c64
  5. Convert Buffer to ASCII

    console.log(Buffer.from("SGVsbG8gV29ybGQ=", "base64").toString("ascii")); //Hello World
  6. Reserved


File System

  1. Promise-based Unlink - Click Here
  2. Synchronous Unlink - Click Here
  3. Promise-based Read File - Click Here
  4. Synchronous Read File - Click Here
  5. Reserved

Applications

  • Read & Write File Apps

Just For Fun Examples

  1. Playing with Buffer
  2. Reserved

FAQs

Difference Between Buffer & Stream

So what is the difference between Stream & Buffer? A buffer has a specified, definite length whereas a stream does not. A stream is a sequence of bytes that is read and/or written to, while a buffer is a sequence of bytes that is stored.

mastering-node.js's People

Contributors

cryptolibertarian-id avatar pusristek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.