Git Product home page Git Product logo

Comments (8)

DrKain avatar DrKain commented on August 22, 2024 1

That sounds good to me as long as the config object is optional. My original goal was simplicity, being able to pass any URL to be cleaned with ease, but I don't mind being able to customize the clean for more advanced users. So far the main options were for AMP links and redirects, as you've probably seen already

from tidy-url.

DrKain avatar DrKain commented on August 22, 2024 1

Thank you

from tidy-url.

DrKain avatar DrKain commented on August 22, 2024 1

I'm not going to let you push code into the main branch that hasn't been tested, reviewed or even seen by me.

from tidy-url.

jugaltheshah avatar jugaltheshah commented on August 22, 2024

I am interested in taking this on. I'm thinking (as a first pass at least) of splitting each of the aforementioned things into functions. Also, what are your thoughts on clean() taking a config object or something so that the caller can decide which parts of the cleaning process they want to run? I'm thinking object to allow for more flexibility & ease in adding/removing options down the line.

from tidy-url.

apodi avatar apodi commented on August 22, 2024

I am interested. I will refactor the code and add some unit tests to make the method cleaner and more readable. Additionally, I will organize the handlers into different files.

from tidy-url.

apodi avatar apodi commented on August 22, 2024

I think i do not have permission to push
git push --set-upstream origin refactor/handlers
remote: Permission to DrKain/tidy-url.git denied to apodi.
fatal: unable to access 'https://github.com/DrKain/tidy-url.git/': The requested URL returned error: 403
could you please add me as Collaborator

from tidy-url.

DrKain avatar DrKain commented on August 22, 2024

Create a pull request. I'll review it when I get the time and if it's good I'll merge

from tidy-url.

apodi avatar apodi commented on August 22, 2024

PR is ready for review #108

from tidy-url.

Related Issues (20)

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.