R
R
Roman Tatarinov2018-02-24 13:34:06
JavaScript
Roman Tatarinov, 2018-02-24 13:34:06

How to write your own JS plugin?

everything is clear with JQuery, there is extend.
There was a desire to rewrite my JQuery plugin to native js, using webpack and es6, so that later I could wrap it all in an npm package. Recommend an article detailing how to create your own native JS module.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Kit, 2018-02-24
@ShadowOfCasper

Can you just open the source of some js plugin with npm? This will make it immediately clearer. And if it doesn’t, you don’t need to write a js-plugin for now.
with nativeJS everything is clear - there is Object.assign()
I didn't understand what extend and plugins have to do with it....

your jQuery plugin on native js,
lolshtaaaaa

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question