How to create a package for Magento 2?

Hi,
Tell me how to create package in magento2.In magento1 we have option to create package .In magento2 the option is not present .

Magento 2 uses the Composer software to manage its packages.
Please read the Composer official documentation about packages and repositories: https://getcomposer.org/doc/
I use Git private repositories for my Magento 2 extensions
Here is my packages.json file: https://mage2.pro/packages.json
It is used by the Composer to locate my extensions during an installation or an upgrade.
See also a detailed documentation about my repositories and packages: https://mage2.pro/c/meta/first-steps