Giter Site home page Giter Site logo

es6-denodeify's Introduction

Hey there, I'm Val! πŸ‘‹

Val on top of a mountain

I wear many hats, and one of them is to be a backend developer.

✍️ Blog Twitter YouTube Instagram Buy me a coffee!

Here's a highlight of the projects I work on:

πŸ₯‡ Most popular

  • markdown-it-anchor – A markdown-it plugin that adds an id attribute to headings and optionally permalinks.
  • markdown-it-highlightjs – Preset to use highlight.js with markdown-it.
  • fetch-cookie – Decorator for a fetch function to support automatic cookie storage and population. πŸͺ
  • spotify-buddylist – Fetch the friend activity Spotify feed.

πŸ”¨ Libraries

🐧 CLI

πŸš€ Services

  • TOTP – TOTP with a password manager that doesn't support TOTP. πŸ˜…
  • Shakti Radio – Live music from Shakti Rock Gym! πŸ§—β€β™‚οΈπŸŽΆπŸ’›
  • Vercel Custom Log Drain – Configure a custom log drain on a Vercel app.

πŸ“ Personal

  • Dotfiles – My home directory skeleton with main configuration files. πŸ’‘
  • Blog – My personal blog. ✍
  • Photography – Photography portfolio. πŸ“Έ
  • Sans Pression Nanobrewery – Open-source nanobrewery. 🍻
  • Kombuch'Val – Open-source kombucha brewery! 🍹

es6-denodeify's People

Contributors

pascalduez avatar valeriangalliat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

deltreey

es6-denodeify's Issues

Issue while using global Promise

const fs = require('fs')
const denodeify = require('es6-denodeify')();
const readFile = denodeify(fs.readFile)

readFile('package.json', 'utf8').then(console.log)
[...]/node_modules/es6-denodeify/index.js:12
        return new Promise(function (resolve, reject) {
               ^
TypeError: undefined is not a function
    at [...]/node_modules/es6-denodeify/index.js:12:16
    at Object.<anonymous> ([...]/index.js:5:1)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

node: 0.12 (Native Promise)

I guess the argument shouldn't be called Promise.

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.