typescript

  1. T

    JavaScript Creating a new array from recursive mapping

    I am attempting to do something very complex. I have a database that has a self relation (categories that contain a nested category). The ORM I’m using makes use of these categories as objects: category = [ { name: "Lights", description: "some description", parentid: "some id"...
  2. H

    Custom usefetcher invalid hook error in nextjs typescript

    I am trying to make a custom usefetcher in my Nextjs18 typescript project but it keeps giving me the "Invalid hook call. Hooks can only be called inside of the body of a function component." error. Here is the code: import { Axios as request } from "./axios"; import { AxiosRequestConfig } from...
  3. Ordep-20

    JavaScript BabelJS migrating old project

    Hello again, I'm migrating old project to babelJss since we face a lot of leg of pure js , its very simple we have a videojs we set the source by channel example channels { anime discovery news etc } it goes to a endpoint server it return the cdnj url of the channel, but here...
  4. Gundeep

    JavaScript need help in redirect page after upload GLB file

    Hello guys, I need help I created one HTML page in which the drag and drop or upload file button is there, in this I need if I upload a GLB file then it will redirect to the three JS scene and open that GLB file into that scene. If I added below two lines it divides my index.html into two parts...
  5. N

    Node.JS Https requests via 2 socks5 proxies

    I am trying to achieve an experimental setup in nodejs as illustrated below: https-server --> local socks5 proxy (Tor) --> my external socks5 proxy --> webserver. The existing https-server was written in nodejs and it intercepts requests from the clients firefox browser, modifies the headers...
  6. M

    Node.JS Custom Mutilevel stepper with progress bar using angular12?

    Hi All, I have recently started working on angular12 and I am trying to add multi-Stepper with progress bar to my angular code but I am unable to get how to do this. Also I want to add a sub stepper on each step. How to add progress bar shown in attached image in header of the page using...
  7. Apollyon

    How to fetch the last month's block and transactions from mempool?

    I want to fetch last month's block and transactions from mempool using typescript. And then persist this to MongoDb. In mempool API-REST there is a code of "GET_Block". import mempoolJS from "@mempool/mempool.js"; const init = async() => { const { bitcoin: { blocks } } =...
Top Bottom